import type { ProjectKnowledge } from '../../types/index.js';
import type { LeanFileEntry } from '../../engine/spec-format/lean-technical-generator.js';
/** Result of autopilot analysis for a spec. */
export interface AutopilotAnalysis {
    suggestedFiles: {
        create: LeanFileEntry[];
        modify: LeanFileEntry[];
        test: LeanFileEntry[];
    };
    detectedPatterns: string[];
    suggestedCriteria: string[];
    isIdea: boolean;
    needsClarification: boolean;
    /** Populated when no relevant files could be found — instructs user to populate manually. */
    noRelatedFilesMessage?: string;
}
/** Return an empty/default AutopilotAnalysis when analysis is unavailable or timed out. */
export declare function getEmptyAutopilotResult(): AutopilotAnalysis;
/**
 * Analyze the project to enrich a spec with real file paths and patterns.
 * Runs automatically during create_spec — no user interaction needed.
 */
export declare function analyzeProjectForSpec(projectPath: string, description: string, title: string, knowledge: ProjectKnowledge | null): Promise<AutopilotAnalysis>;
/**
 * SPEC-619 AC1: Detect broad-scope descriptions that mention 2+ major subsystems.
 * When true, create_spec should ask clarifying questions before proceeding.
 *
 * Threshold scales with description length: longer descriptions are more specific
 * and naturally mention adjacent domain terms (e.g. Stripe billing + webhooks is
 * one feature, not two independent systems).
 */
export declare function detectBroadScope(description: string): boolean;
//# sourceMappingURL=autopilot-analyzer.d.ts.map