import type { DocumentLiveMap, LiveMapDocumentLibrary } from "../../types/livemap.types.js"; import type { LiveTree } from "../livetree/livetree.js"; import { DocumentMirrorError } from "./reflect.document.error.js"; export type DocumentMirrorStatus = "initializing" | "active" | "replacing" | "failed" | "disposed"; export type DocumentMirror = Readonly<{ readonly tree: LiveTree; readonly status: DocumentMirrorStatus; readonly sourceRevision: number; readonly failure: DocumentMirrorError | undefined; diagnostics: () => Readonly<{ updatesApplied: number; registeredElements: number; wholeCorrespondenceBuilds: number; incrementalCorrespondenceUpdates: number; correspondenceEntriesChanged: number; identityEffectsConsumed: number; }>; dispose: () => void; }>; type ReflectableDocumentMap = DocumentLiveMap | LiveMapDocumentLibrary; /** Internal attribute-only proof that projects one DocumentLiveMap into one LiveTree. */ export declare function reflect_document(map: ReflectableDocumentMap): DocumentMirror; export {}; //# sourceMappingURL=reflect.document.d.ts.map