/**
 * Shared prompt intent detection for CLI routing, V3 hints, and rescue gating.
 * Keep aligned with V3-Code-Agent/agent.py _classify_request heuristics.
 */
export type IntentContext = {
    priorPrompt?: string | null;
};
/** Strip CLI-appended platform / mode shaping so it cannot flip quality profiles. */
export declare function stripExecutionShaping(prompt: string): string;
export declare function hasBuildVerb(prompt: string): boolean;
export declare function hasArtifactNoun(prompt: string): boolean;
export type GameEngineHint = 'babylon' | 'three' | 'canvas-2d';
export declare function inferGameEngine(prompt: string): GameEngineHint;
export declare function hasGameIntent(prompt: string): boolean;
/** True when the CLI already expanded a /continue-style follow-up prompt. */
export declare function isBuiltContinuePrompt(prompt: string): boolean;
/** True when the CLI already expanded a /retry-style follow-up prompt. */
export declare function isBuiltRetryPrompt(prompt: string): boolean;
export declare function isAgentContinuePrompt(prompt: string): boolean;
export declare function isAgentRetryPrompt(prompt: string): boolean;
export declare function isContinueOrRetryPrompt(prompt: string): boolean;
export declare function hasWebPageIntent(prompt: string): boolean;
export declare function isTrivialHtmlPageRequest(prompt: string): boolean;
export declare function hasCloneBuildIntent(prompt: string): boolean;
export declare function isWritePermissionGrant(prompt: string): boolean;
/** Short or extended confirmations that should chain to the prior actionable request. */
export declare function isConfirmationFollowUp(prompt: string): boolean;
/** True when the CLI expanded a write-confirmation follow-up for V3. */
export declare function isBuiltWriteConfirmationPrompt(prompt: string): boolean;
export declare function hasFixOrCorrectIntent(prompt: string): boolean;
export declare function isReadOnlyCheckIntent(prompt: string): boolean;
export declare function hasExplicitWriteIntent(prompt: string): boolean;
export declare function taskRequiresWorkspaceChanges(prompt: string): boolean;
export declare function resolveClassificationPrompt(prompt: string, context?: IntentContext): string;
export declare function taskRequiresWorkspaceChangesWithContext(prompt: string, context?: IntentContext): boolean;
export declare function hasAnalyzeAndBuildIntent(prompt: string): boolean;
export declare function inferAgentTaskType(prompt: string): string;
export declare function inferAgentTaskTypeWithContext(prompt: string, context?: IntentContext): string;
export declare function shouldSkipAnalysisRescue(liveOutcome: {
    tasksTotal?: number;
    changedFileCount?: number;
    requiresWorkspaceChanges?: boolean;
}): boolean;
export declare function isPlannerBuildTask(agentTaskType: string, prompt: string): boolean;
export declare function resolvePlannerAgentTimeoutMs(baseTimeoutMs: number, agentTaskType: string, prompt: string): number;
/** V3 workflow mode: suppress write path when the user did not ask for file changes. */
export declare function resolveWorkflowType(agentTaskType: string, prompt: string, context?: IntentContext): 'analysis_only' | 'full';
export declare function buildExecutionHints(agentTaskType: string, prompt: string, options?: {
    fastPath?: string;
    priorPrompt?: string | null;
}): {
    task_kind: string;
    requires_file_changes: boolean | undefined;
    classify_from: string;
    workflow_type: 'analysis_only' | 'full';
    fast_path?: string;
    game_engine?: GameEngineHint;
    render_transport?: 'client-state';
};
