/**
 * Living Docs Preflight - User Input Collection for Living Docs Builder
 *
 * Collects user preferences BEFORE launching the background job:
 * - Additional documentation sources (Notion exports, MD folders)
 * - Priority areas to focus on
 * - Known pain points in documentation
 * - Analysis depth preference
 *
 * This runs interactively in the init command, not in the background worker.
 */
import { WIZARD_BACK } from './wizard-navigation.js';
export { WIZARD_BACK };
import type { LivingDocsUserInputs } from '../../../core/background/types.js';
import type { SupportedLanguage } from '../../../core/i18n/types.js';
/**
 * Options for preflight collection
 */
export interface PreflightOptions {
    /** Project path */
    projectPath: string;
    /** UI language */
    language?: SupportedLanguage;
    /** Is CI environment (no prompts) */
    isCi?: boolean;
    /** Force skip living docs */
    skipLivingDocs?: boolean;
    /** Job IDs that will populate the project (clone, import) - makes greenfield → brownfield */
    pendingJobIds?: string[];
}
/**
 * Result of preflight collection
 */
export interface PreflightResult {
    /** Whether to launch the job */
    shouldLaunch: boolean;
    /** Whether project is brownfield (has existing code) */
    isBrownfield: boolean;
    /** User inputs for the job */
    userInputs: LivingDocsUserInputs;
    /** Estimated duration string */
    estimatedDuration: string;
    /** Signal to go back to previous step */
    goBack?: typeof WIZARD_BACK;
}
/**
 * Detect if project is brownfield (has existing code)
 *
 * @deprecated Use `isGreenfield()` from `./greenfield-detection.js` instead.
 * This wrapper inverts the result for backward compatibility.
 */
export declare function detectBrownfield(projectPath: string): boolean;
/**
 * Detect existing documentation folders
 */
export declare function detectExistingDocs(projectPath: string): string[];
/**
 * Analysis depth type - supports basic and AI-powered modes
 */
export type AnalysisDepth = 'quick' | 'standard' | 'deep-native';
/**
 * Estimate duration based on codebase size
 */
export declare function estimateDuration(projectPath: string, depth: AnalysisDepth): string;
/**
 * Collect user inputs for living docs builder
 *
 * NEW FLOW (v0.31+):
 * 1. Always ask "Enable Living Docs?" first (both brownfield and greenfield)
 * 2. For brownfield: ask detailed config, launch background builder job
 * 3. For greenfield: just enable structure, docs sync automatically as you work
 * 4. If pendingJobIds exist (clone/import), treat as "will be brownfield"
 */
export declare function collectLivingDocsInputs(options: PreflightOptions): Promise<PreflightResult | null>;
/**
 * Display job scheduled message
 */
export declare function displayJobScheduled(jobId: string, estimatedDuration: string, language?: SupportedLanguage): void;
//# sourceMappingURL=living-docs-preflight.d.ts.map