/** The CLI repo root, from `src/visualQa` or `dist/visualQa`. */ export declare const CLI_ROOT: string; /** Paths whose change alters what a render measures. Docs, specs and fixtures do not. */ export declare const HARNESS_PATH_RE: RegExp; type Git = (args: string[], timeoutMs?: number) => string; /** Short sha of the commit this harness runs from: `HELIX_VQA_HARNESS_SHA`, else the checkout's HEAD, else null (an npm install). */ export declare function harnessSha(root?: string, git?: Git): string | null; /** `vqa-1` or `vqa-1.g3fb9073`: the revision suffix of `harness.version`. */ export declare const harnessLabel: (revision: string) => string; export interface Freshness { stale: boolean; reason: string; own: string | null; head: string | null; } /** * Fetch `/` and compare it with this checkout. Stale = the tip moved AND a harness file differs * (`HARNESS_PATH_RE`). Any git/network failure reads as fresh: a flaky fetch must never take the runner down. */ export declare function checkHarnessFresh(opts: { ref: string; remote?: string; root?: string; git?: Git; }): Freshness; export {};