import { type GitStatusSnapshot } from "./ci-reverification-mutation.js"; import { type FixedGitRunner } from "./fixed-git.js"; export type PosixPathIdentity = { readonly dev: string; readonly ino: string; readonly realpath: string; }; export type EvidenceParentIdentity = PosixPathIdentity & { readonly relativePath: string; }; export type GitIdentity = { readonly available: boolean; readonly diagnosticCode: string; readonly head?: string; readonly status?: GitStatusSnapshot; }; export type ReverificationIdentitySnapshot = { readonly evidenceParent: EvidenceParentIdentity; readonly git: GitIdentity; readonly workspaceRoot: PosixPathIdentity; }; type IdentityResult = { readonly diagnosticCode: string; readonly status: "unavailable"; } | { readonly status: "available"; readonly value: T; }; export declare function captureWorkspaceIdentity(projectDir: string): IdentityResult; export declare function captureEvidenceParentIdentity(workspaceRoot: PosixPathIdentity, relativePath?: string): IdentityResult; export declare function captureGitIdentity(projectDir: string, workspaceRoot: PosixPathIdentity, runner?: FixedGitRunner): GitIdentity; export declare function captureGitIdentityFromCapturedProject(runner: FixedGitRunner): GitIdentity; export declare function samePathIdentity(left: PosixPathIdentity, right: PosixPathIdentity): boolean; export {};