import type { ScoredCommit } from "./types.js";
/** Stable key for a repo root, used in ProgressFile.repos. */
export declare function repoKey(repoRoot: string): string;
export interface DetectResult {
    repoRoot: string;
    head: string;
    commits: ScoredCommit[];
}
/**
 * Detect new, scoreable commits since `lastHead`.
 * - `lastHead` undefined (first time seeing this repo) → record HEAD, score nothing.
 * - Merge commits excluded; commits authored before the run window excluded.
 * - Any git failure → null (silent).
 */
export declare function detectNewCommits(cwd: string, lastHead: string | undefined, runStartedAt: number): Promise<DetectResult | null>;
//# sourceMappingURL=git-xp.d.ts.map