import type { HsonNode } from "../../core/types.js"; import type { DocumentLiveMapMode, LiveMapGraphCommit, LiveMapCommitObserverApi } from "../../types/livemap.types.js"; import { type PreparedDocumentInstall } from "./livemap.document.install.js"; import { type LiveMapDocumentIdentityEffect } from "./livemap.document.identity.js"; import type { LiveMapIdentityEpochController, LiveMapIssuedQuidLedger } from "./livemap.identity-epoch.js"; export type PreparedDocumentReplay = Readonly<{ root: HsonNode; overlay: PreparedDocumentInstall["overlay"]; commit: LiveMapGraphCommit; identityEffects: readonly LiveMapDocumentIdentityEffect[]; issuedLedger: LiveMapIssuedQuidLedger; }>; export type LiveMapDocumentReplayController = Readonly<{ mode: DocumentLiveMapMode; rev: () => number; root: () => HsonNode; overlay: () => PreparedDocumentInstall["overlay"]; identityEpoch: LiveMapIdentityEpochController; applyReplay: (candidate: PreparedDocumentReplay) => LiveMapGraphCommit; commits: LiveMapCommitObserverApi; }>; /** Validate all graph operations against a detached candidate before one swap. */ export declare function replay_livemap_document_commit(controller: LiveMapDocumentReplayController, input: LiveMapGraphCommit): LiveMapGraphCommit; //# sourceMappingURL=livemap.document.replay.d.ts.map