import type { IncomingHttpHeaders } from "node:http";
export declare const EXPECTED_REPOSITORY_REQUIRED = false;
export declare const isGitWriteRoute: (route: string) => boolean;
/** Per Hook run, bounded client counts and one warning per client and route. */
export declare class GitWriteDiagnostics {
    private readonly clients;
    record(route: string, headers: IncomingHttpHeaders): void;
    snapshot(): {
        client: string;
        count: number;
        warning: string;
    }[];
}
