export type GitWorkingTreeSnapshot = {
    available: boolean;
    branch: string | null;
    isDirty: boolean;
    reason?: string;
};
export declare function readGitWorkingTreeSnapshot(cwd: string): GitWorkingTreeSnapshot;
/** Branches where dirty + in_progress work should trigger maintainer delivery advisories. */
export declare function isProtectedMaintainerBranch(branch: string | null): boolean;
export declare function countInProgressExecutionTasksSqlite(dbAbs: string): Promise<number | null>;
export declare function getTaskStatusFromPlanningSqlite(dbAbs: string, taskId: string): Promise<string | null>;
export declare function resolvePlanningSqliteAbsolute(cwd: string, dbRel: string): string;
