import type { AttributionSummary, CausalEvent, Evidence } from "../contracts/causal-ontology.js"; import type { WarpContext } from "../warp/context.js"; import type { RuntimeStagedTargetFullFile } from "./runtime-staged-target.js"; export type PersistedLocalHistoryGraphWarp = WarpContext; export interface PersistedLocalHistoryGraphContext { readonly warp: PersistedLocalHistoryGraphWarp; readonly worktreeRoot: string; } export interface PersistedLocalHistoryGraphContinuityRecord { readonly recordId: string; readonly continuityKey: string; readonly operation: string; readonly repoId: string; readonly worktreeId: string; readonly transportSessionId: string; readonly workspaceSliceId: string; readonly causalSessionId: string; readonly strandId: string; readonly checkoutEpochId: string; readonly workspaceOverlayId: string | null; readonly occurredAt: string; readonly continuedFromRecordId: string | null; readonly continuedFromCausalSessionId: string | null; readonly continuedFromStrandId: string | null; readonly continuityConfidence: string; readonly continuityEvidence: readonly Evidence[]; readonly attribution: AttributionSummary; } export declare function writeContinuityRecordToGraph(graph: PersistedLocalHistoryGraphContext, input: { readonly record: PersistedLocalHistoryGraphContinuityRecord; readonly previousEventId: string | null; }): Promise; export declare function writeCausalEventToGraph(graph: PersistedLocalHistoryGraphContext, input: { readonly event: Extract; readonly previousEventId: string | null; readonly stagedTarget?: RuntimeStagedTargetFullFile | undefined; }): Promise; //# sourceMappingURL=persisted-local-history-graph.d.ts.map