import type { HsonNode } from "../../core/types.js"; import type { ClassifiedLiveMap, DataLiveMapMode, LiveMapCore, LiveMapRootMode } from "../../types/livemap.types.js"; import { type LiveMapDocumentIdentityOverlay } from "./livemap.document.identity.js"; import { type LiveMapDocumentInstallController } from "./livemap.document.install.js"; import { type LiveMapDocumentReplayController } from "./livemap.document.replay.js"; import { type LiveMapDocumentMutationController } from "./livemap.document.mutation.js"; import { type LiveMapProjectedIdentityOverlay } from "./livemap.projected.identity.js"; import type { LiveMapDocumentWatchRegistration } from "./livemap.watch.js"; import type { InternalDocumentSchemaController } from "./livemap.document.schema.js"; export type PreparedLiveMapRoot = Readonly<{ root: HsonNode; mode: LiveMapRootMode; documentOverlay?: LiveMapDocumentIdentityOverlay; projectedOverlay?: LiveMapProjectedIdentityOverlay; }>; /** Clone, validate, classify, and establish document identity before ownership. */ export declare function prepare_livemap_root(input: HsonNode): PreparedLiveMapRoot; /** Validate and classify one canonical LiveMap root without using JSON projection. */ export declare function classify_live_root_mode(root: HsonNode): LiveMapRootMode; /** Assert a classified root mode for internal construction paths that require it. */ export declare function assert_live_root_mode(root: HsonNode, expected: LiveMapRootMode | readonly LiveMapRootMode[]): LiveMapRootMode; /** Return the existing data surface or the narrow document façade by mode. */ export declare function facade_for_livemap_root(core: LiveMapCore, prepared: PreparedLiveMapRoot, controller?: LiveMapDocumentInstallController & LiveMapDocumentMutationController & LiveMapDocumentReplayController & InternalDocumentSchemaController, watchDocument?: LiveMapDocumentWatchRegistration): ClassifiedLiveMap; export declare function is_data_livemap_mode(mode: LiveMapRootMode): mode is DataLiveMapMode; //# sourceMappingURL=livemap.document.d.ts.map