/**
 * PhaseResultStore - File-based Phase result persistence
 *
 * Saves Phase execution results to disk so pipelines can:
 * - Resume from last completed phase after failure
 * - Share results across sessions
 * - Provide audit trail of Phase execution
 *
 * Storage: .claude/vibe/phase-results/{feature-name}/phase-{N}.json
 */
import type { StageResult } from './PhasePipeline.js';
export interface PhaseResultFile {
    featureName: string;
    phaseNumber: number;
    phaseName: string;
    result: StageResult;
    timestamp: number;
    checksum: string;
}
export declare class PhaseResultStore {
    private readonly projectRoot;
    private readonly featureName;
    private readonly storeDir;
    constructor(projectRoot: string, featureName: string);
    /** Save Phase result to disk */
    save(phaseNumber: number, phaseName: string, result: StageResult): void;
    /** Load a single Phase result */
    load(phaseNumber: number): PhaseResultFile | null;
    /** Load all saved Phase results, sorted by phaseNumber */
    loadAll(): PhaseResultFile[];
    /** Get the last completed phase number (0 if none) */
    getLastCompletedPhase(): number;
    /** Clear all stored results for this feature */
    clear(): void;
    /** Get store directory path */
    getStoreDir(): string;
    private getFilePath;
}
//# sourceMappingURL=PhaseResultStore.d.ts.map