/**
 * Boot Orchestrator — pre-launch sequence before the MK3 TUI starts.
 *
 * Runs version check, stale-process cleanup, installation health, Docker probe,
 * and gateway bundle checks. No terminal loading UI (boot visuals are in the TUI).
 */
interface BootStep {
    id: string;
    label: string;
    techLabel: string;
    status: 'pending' | 'running' | 'complete' | 'warning' | 'error';
    message?: string;
    startTime?: number;
    endTime?: number;
    progress?: number;
}
interface BootResult {
    success: boolean;
    needsUpdate?: boolean;
    updateVersion?: string;
    error?: string;
    warnings?: string[];
    steps: BootStep[];
}
export declare class BootOrchestrator {
    private steps;
    private isDevMode;
    constructor();
    private initializeSteps;
    /**
     * Detect if running from dev/repo vs global install.
     * Dev mode: skip auto-updates.
     */
    private detectDevMode;
    private updateStep;
    /**
     * Step 1: Version Check & Update Detection
     */
    private checkVersion;
    /**
     * Step 2: Cleanup stale processes and locks
     */
    private cleanupStaleProcesses;
    /**
     * Step 3: Health check (Gateway bundle, Prisma client under vendored gateway)
     *
     * Prefer paths relative to **this running package** (`…/4runr-os/dist/..`). Using only
     * `npm root -g` misses installs where prefix/layout differs from where `node` loaded this CLI.
     */
    private checkHealth;
    /**
     * Step 4: Docker availability check (doesn't start containers - TUI handles that)
     */
    private checkDocker;
    /**
     * Step 5: Gateway bundle verification
     */
    private checkGatewayBundle;
    /**
     * Main orchestration: run all boot steps (silent — TUI owns boot visuals)
     */
    boot(): Promise<BootResult>;
}
export declare function orchestrateBootSequence(): Promise<BootResult>;
export {};
//# sourceMappingURL=boot-orchestrator.d.ts.map