/** A point-in-time observation of local Git, not a claim about remote PR state. */ export interface GitContext { source: 'local-git'; observedAt: string; repository: { origin: string | null; }; branch: string | null; head: string | null; unborn: boolean; worktree: boolean; dirty: { tracked: number; untracked: number; isDirty: boolean; }; base?: { ref: string; commit: string; isAncestorOfHead: boolean | null; }; } export declare function captureGitContext(directory: string, options?: { baseRef?: string; }): Promise;