/** * Planning Mode - Pre-flight analysis for AI agent operations * Provides intelligent analysis before execution */ export interface ProjectAnalysis { type: ProjectType; files: string[]; risks: Risk[]; estimatedTime: number; confidence: number; } export interface Risk { level: 'low' | 'medium' | 'high'; description: string; mitigation?: string; } export interface PlanStep { id: string; action: string; files: string[]; risk: 'low' | 'medium' | 'high'; estimatedDuration: number; } export interface Plan { analysis: ProjectAnalysis; steps: PlanStep[]; totalEstimatedTime: number; requiresConfirmation: boolean; } export type ProjectType = 'node' | 'python' | 'go' | 'rust' | 'unknown'; export declare function detectProjectType(cwd?: string): ProjectType; export declare function analyzeProject(cwd?: string): ProjectAnalysis; export declare function createPlan(analysis: ProjectAnalysis, userRequest: string): Plan; export declare function formatPlan(plan: Plan): string; //# sourceMappingURL=planning.d.ts.map