import type { SessionPool } from '../agent/session'; import type { Task } from '../task/types'; import type { RunContext } from './context'; type RunControllerOptions = { taskRef?: string; task?: Task; worktreeName?: string; clarifications?: Record; allowMissingClarifications?: boolean; dryRun?: boolean; apply?: boolean; dangerous?: boolean; sessions?: SessionPool; }; export declare function runPlanner(ctx: RunContext, options: RunControllerOptions): Promise<{ summary: string; steps: { id: string; title: string; description: string; files?: string[] | undefined; verification?: string[] | undefined; risks?: string[] | undefined; stopConditions?: string[] | undefined; }[]; verification: string[]; questions?: { id: string; text: string; required?: boolean | undefined; }[] | undefined; }>; export declare function runImplementation(ctx: RunContext, options: RunControllerOptions): Promise; export declare function runReviewLoop(ctx: RunContext, options: RunControllerOptions): Promise; export declare function runLearningNotes(ctx: RunContext): Promise; export declare function runRecovery(ctx: RunContext): Promise; export declare function resumeRun(ctx: RunContext, options: RunControllerOptions): Promise; export {};