import type { LiveMapDocumentCommitTarget, LiveMapDocumentPath, LiveMapGraphCommit, LiveMapGraphOp } from "../../types/livemap.types.js"; import { type LiveMapDocumentMutationController, type PreparedDocumentMutation } from "./livemap.document.mutation.js"; import type { LiveMapIdentityEpochController } from "./livemap.identity-epoch.js"; export declare const LIVEMAP_DOCUMENT_QUID_MINT_RETRY_LIMIT = 32; export type LiveMapDocumentIdentityAppliedClaim = Readonly<{ path: LiveMapDocumentPath; quid: string; }>; /** Opaque commit-scoped local Reflection reservation. */ export type LiveMapDocumentIdentityCommitReservation = Readonly<{ readonly applied: boolean; apply: () => readonly LiveMapDocumentIdentityAppliedClaim[]; /** Undo claims installed for an observer path that did not complete. */ rollback: () => void; release: () => void; }>; /** One active local projection participant; never serialized or exposed publicly. */ export type LiveMapDocumentIdentityParticipant = Readonly<{ preflight: (operations: readonly LiveMapGraphOp[]) => LiveMapDocumentIdentityCommitReservation; verifyExisting: (path: LiveMapDocumentPath, quid: string) => void; }>; /** Retryable local namespace conflict found before canonical acceptance. */ export declare class LiveMapDocumentIdentityParticipantCollisionError extends Error { constructor(message: string, options?: ErrorOptions); } type LiveMapDocumentIdentityAuthority = LiveMapDocumentMutationController & Readonly<{ identityEpoch: LiveMapIdentityEpochController; }>; /** Register the internal map authority behind one frozen document façade. */ export declare function register_livemap_document_identity_authority(owner: object, controller: LiveMapDocumentIdentityAuthority): void; /** Attach the sole active local Reflection participant. */ export declare function register_livemap_document_identity_participant(owner: object, participant: LiveMapDocumentIdentityParticipant): () => void; /** Authority-owned acquisition for the internal map-local capability. */ export declare function ensure_livemap_document_canonical_identity(owner: object, target: LiveMapDocumentCommitTarget): string; /** Authority-owned acquisition used by linked LiveTree delegation. */ export declare function require_livemap_document_canonical_identity(owner: object, target: LiveMapDocumentCommitTarget): string; /** Transfer a candidate's preflight reservation to its exact accepted commit. */ export declare function register_livemap_document_identity_candidate_commit(candidate: PreparedDocumentMutation, commit: LiveMapGraphCommit): void; /** Preflight a replay's complete staged operation sequence before publication. */ export declare function preflight_livemap_document_identity_replay(authority: object, commit: LiveMapGraphCommit): LiveMapDocumentIdentityCommitReservation | undefined; /** Resolve the exact preflight evidence for Reflection's synchronous observer. */ export declare function livemap_document_identity_reservation_for(commit: LiveMapGraphCommit): LiveMapDocumentIdentityCommitReservation | undefined; export {}; //# sourceMappingURL=livemap.document.registration.d.ts.map