import type { ActivateGraphGenerationOutcome, GraphGenerationLease, GraphGenerationRepository } from "../../data/graph-generation/graph-generation-contract.js"; export interface GraphInputSnapshotEntry { relativePath: string; contentHash: string; size: number; } export declare function buildGraphInputSnapshotHash(files: readonly GraphInputSnapshotEntry[]): string; export interface BeginGraphBuildInput { projectId: string; expectedActiveGenerationId: string | null; fingerprint: string; inputSnapshotHash: string; expectedFilesCount: number; } export declare class GraphGenerationCoordinator { private readonly repository; constructor(repository?: GraphGenerationRepository); begin(input: BeginGraphBuildInput): Promise; heartbeat(lease: GraphGenerationLease): Promise; activate(lease: GraphGenerationLease): Promise>; abort(lease: GraphGenerationLease, reason: string): Promise; cleanup(lease: GraphGenerationLease): Promise; } //# sourceMappingURL=graph-generation-coordinator.d.ts.map