export interface WorkmapEntry {
    ts: string;
    wrfcId: string;
    event: 'engineer_complete' | 'review_complete' | 'fix_started' | 'gate_result' | 'chain_passed' | 'chain_failed';
    agentId?: string;
    task?: string;
    score?: number;
    passed?: boolean;
    issues?: Array<{
        severity: string;
        description: string;
        file?: string;
    }>;
    gate?: string;
    gateOutput?: string;
    attempt?: number;
    reason?: string;
}
export declare class WrfcWorkmap {
    private filePath;
    constructor(projectRoot: string, sessionId: string, options?: {
        readonly surfaceRoot?: string;
        readonly sessionsDir?: string;
    });
    private dirCreated;
    append(entry: WorkmapEntry): void;
    /** Read all entries, optionally filtered by wrfcId */
    read(wrfcId?: string): WorkmapEntry[];
    /** Get all unique WRFC chain IDs with their latest status */
    listChains(): Array<{
        wrfcId: string;
        task?: string;
        status: string;
        lastScore?: number;
        events: number;
    }>;
    /** Static: find the most recent workmap file in sessions dir */
    static findLatest(sessionsDir: string): string | null;
}
//# sourceMappingURL=wrfc-workmap.d.ts.map