import { type Plan } from '../../agent/schemas'; import type { Config } from '../../config/schema'; import type { EventBus } from '../../events/bus'; import type { EmitContext } from '../../events/emit'; import type { Task } from '../../task/types'; import type { ConversationStore } from '../conversation/types'; import { invokeCognition } from '../router'; export type PlannerInput = { task?: Task; worktreeName?: string; repoRoot: string; clarifications?: Record; store: ConversationStore; config: Config; cacheDir?: string; bus?: EventBus; context?: EmitContext; invoke?: typeof invokeCognition; client?: Parameters[0]['client']; }; export declare function generatePlan(input: PlannerInput): Promise;