import type { JsonValue } from "../../core/types.js"; import type { LiveMapCore, LiveMapProxy, LivePath } from "../../types/livemap.types.js"; type DocumentProxyLocation = Readonly<{ at: (path: readonly number[]) => DocumentProxyLocation; }>; type DocumentProxy = Readonly<{ readonly $_: TLocation; readonly [index: number]: DocumentProxy; }>; /** * Build a path-projection proxy over a LiveMap core. * * Property access extends the data path only. Mutations intentionally go * through `$_`, so proxy writes keep the same contract as path handles: * * - `proxy.user.$_.set(...)` uses LiveMap `set` semantics. * - `proxy.user.$_.setMany(...)` writes child fields under an object path. * - `proxy.user.$_.replace(...)` destructively replaces the endpoint. * - `proxy.user.$_.delete()` deletes the resolved endpoint. * * Direct assignment and `delete proxy.foo` are rejected so JavaScript property * semantics do not bypass LiveMap validation, schema checks, or commit events. */ export declare function make_livemap_proxy(core: LiveMapCore, path?: TPath): LiveMapProxy; /** Build the document-mode form of the existing location proxy vocabulary. */ export declare function make_livemap_document_proxy(location: TLocation): DocumentProxy; export {}; //# sourceMappingURL=livemap.proxy.d.ts.map