export declare const WORKSPACE_SNAPSHOT_FENCE_SCHEMA_VERSION: 1; export interface WorkspaceSnapshotFenceDescriptor { readonly schemaVersion: typeof WORKSPACE_SNAPSHOT_FENCE_SCHEMA_VERSION; readonly snapshotId: string; readonly projectId: string; readonly revision: number; readonly manifestHash: string; readonly capturedAt: string; } export type RecordWorkspaceSnapshotResult = { readonly recorded: true; readonly snapshot: WorkspaceSnapshotFenceDescriptor; } | { readonly recorded: false; readonly code: 'workspace_snapshot_invalid'; readonly message: string; }; export declare function workspaceSnapshotFenceId(projectId: string, revision: number, manifestHash: string, capturedAt: string): string; export declare function isWorkspaceSnapshotFenceDescriptorValid(snapshot: WorkspaceSnapshotFenceDescriptor): boolean; //# sourceMappingURL=workspace-snapshot-fence.d.ts.map