export interface BranchSnapshot {
    id?: number;
    project: string;
    branch: string;
    goal?: string;
    filesTouched?: string[];
    pendingTasks?: string[];
    recentErrors?: string[];
    recentDecisions?: string[];
    lastSessionId?: number;
    lastActiveAt?: string;
    createdAt?: string;
    updatedAt?: string;
}
export declare function saveBranchSnapshot(snapshot: BranchSnapshot): void;
export declare function loadBranchSnapshot(project: string, branch: string): BranchSnapshot | null;
export declare function listBranchSnapshots(project: string): BranchSnapshot[];
export declare function deleteBranchSnapshot(project: string, branch: string): boolean;
export declare function captureCurrentBranchSnapshot(project: string, cwd: string): void;
export interface BranchContextSummary {
    branch: string;
    goal?: string;
    filesTouched: string[];
    pendingTasks: string[];
    recentErrors: string[];
    recentDecisions: string[];
    daysSinceLastActive: number;
    status: 'active' | 'stale' | 'abandoned';
    ciFailures?: number;
}
export declare function getBranchContextSummary(project: string, branch: string): BranchContextSummary | null;
export declare function formatBranchContextSummary(summary: BranchContextSummary): string;
export declare function getAllBranchContexts(project: string): BranchContextSummary[];
//# sourceMappingURL=branch-snapshot.d.ts.map