/**
 * Design Pipeline State Manager
 *
 * Manages the state of the design pipeline execution, allowing for
 * graceful failure handling and resumption from any failed phase.
 */
export interface DesignPipelineState {
    currentPhase: number;
    completedPhases: number[];
    failedPhase?: number;
    failureReason?: string;
    timestamp: Date;
    partialResults: Record<string, any>;
    projectPath: string;
}
export declare class DesignPipelineStateManager {
    private statePath;
    constructor(projectPath?: string);
    /**
     * Save the current pipeline state
     */
    saveState(state: DesignPipelineState): Promise<void>;
    /**
     * Load existing pipeline state
     */
    loadState(): Promise<DesignPipelineState | null>;
    /**
     * Clear the state file (called on successful completion)
     */
    clearState(): Promise<void>;
    /**
     * Check if there's a resumable state
     */
    canResume(): Promise<boolean>;
    /**
     * Get the next phase to execute
     */
    getNextPhase(): Promise<number>;
    /**
     * Get completed phases
     */
    getCompletedPhases(): Promise<number[]>;
    /**
     * Get failure information
     */
    getFailureInfo(): Promise<{
        phase: number;
        reason: string;
    } | null>;
    /**
     * Get partial results from completed phases
     */
    getPartialResults(): Promise<Record<string, any>>;
    /**
     * Check if state is stale (older than 24 hours)
     */
    isStateStale(): Promise<boolean>;
    /**
     * Get state summary for display
     */
    getStateSummary(): Promise<string>;
}
//# sourceMappingURL=designPipelineStateManager.d.ts.map