/**
 * Nexus Prime - Darwin Journal
 *
 * Structured improvement log for the Darwin Loop self-improvement orchestrator.
 * Maintains state of hypotheses, validation gates, and outcomes.
 *
 * Phase: 8F (Darwin Loop)
 */
export interface DarwinCycle {
    id: string;
    hypothesis: string;
    targetFile: string;
    approach: string;
    worktreeBranch: string;
    diffGenerated: string;
    buildPassed: boolean;
    testsPassed: boolean;
    metricsBefore: Record<string, number>;
    metricsAfter: Record<string, number>;
    guardrailResult: {
        passed: boolean;
        score: number;
    };
    outcome: 'pending' | 'applied' | 'rejected' | 'deferred';
    learnings: string[];
    timestamp: number;
}
export declare class DarwinJournal {
    private readonly journalPath;
    constructor();
    /** Load all recorded cycles */
    loadCycles(): DarwinCycle[];
    /** Save cycles back to disk */
    private saveCycles;
    /** Create a new cycle proposal */
    propose(hypothesis: string, targetFile: string, approach: string): DarwinCycle;
    /** Update an existing cycle */
    updateCycle(id: string, updates: Partial<DarwinCycle>): DarwinCycle | null;
    /** Get a specific cycle by ID */
    getCycle(id: string): DarwinCycle | null;
    /** Get pending cycles requiring review */
    getPending(): DarwinCycle[];
}
