import { z } from "zod"; declare const anchorSchema: z.ZodObject<{ validationVersion: z.ZodLiteral<"coordination-history/2">; genesis: z.ZodEffects; objectFormat: z.ZodLiteral<"sha1">; kind: z.ZodEnum<["control-genesis", "source-fixture"]>; metadata: z.ZodObject<{ runId: z.ZodString; objectId: z.ZodString; seconds: z.ZodNumber; }, "strict", z.ZodTypeAny, { runId: string; objectId: string; seconds: number; }, { runId: string; objectId: string; seconds: number; }>; parents: z.ZodArray; treeSha: z.ZodString; commitText: z.ZodString; commitSha: z.ZodString; commitBytesSha256: z.ZodString; objectPlanHash: z.ZodString; }, "strict", z.ZodTypeAny, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }>, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }>, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }>; endpointHash: z.ZodString; repository: z.ZodString; repositoryId: z.ZodString; controlRef: z.ZodString; }, "strict", z.ZodTypeAny, { repository: string; endpointHash: string; repositoryId: string; validationVersion: "coordination-history/2"; genesis: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }; controlRef: string; }, { repository: string; endpointHash: string; repositoryId: string; validationVersion: "coordination-history/2"; genesis: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }; controlRef: string; }>; export type CoordinationHistoryAnchor = z.infer; export interface ControlCommit { parents: string[]; treeSha: string; } export type HistoryCheck = (head: string, readValidatedCommit: (sha: string) => ControlCommit, isAncestor: (ancestor: string, descendant: string) => boolean) => void; export declare function coordinationHistoryCheck(commonDir: string, anchor: CoordinationHistoryAnchor): HistoryCheck; /** A validation checkpoint is a rebuildable receipt, never owner/generation/time authority. */ export declare function validateCoordinationHistory(args: { commonDir: string; anchor: CoordinationHistoryAnchor; head: string; readValidatedCommit: (sha: string) => ControlCommit; isAncestor: (ancestor: string, descendant: string) => boolean; batchSize?: number; }): { status: "verified" | "pending"; verifiedTip: string | null; inspected: number; }; export {}; //# sourceMappingURL=history.d.ts.map