export type ReversaPhase = 'reconnaissance' | 'excavation' | 'interpretation' | 'generation' | 'review';
export interface ReversaState {
    phase: ReversaPhase;
    mode?: 'default' | 'designmd';
    designProfileId?: string;
    checkpoint?: {
        scout?: string;
        archaeologist?: string;
        detective?: string;
        architect?: string;
        writer?: string;
        reviewer?: string;
    };
    updatedAt: string;
    notes: string[];
}
export declare class ReversaAgent {
    private statePath;
    private executors;
    constructor();
    resume(): ReversaState;
    advance(note: string): ReversaState;
    setMode(mode: 'default' | 'designmd', designProfileId?: string): ReversaState;
    runPhase(phase: ReversaPhase, note?: string): ReversaState;
    runAll(note?: string): ReversaState;
    writeFinalContracts(): string;
    exportContractsJson(): string;
    private save;
}
