/** * Store-style subscription amenities for LiveMap. * * This module intentionally keeps LiveMap as the public noun. It provides the * reusable implementation for snapshot, diff, selector, and path subscriptions; * the public surface can expose those amenities directly on a LiveMap without * requiring callers to treat the map as a separate store object. * * Store snapshots are detached data values. Subscribers cannot mutate LiveMap by * mutating a received snapshot, and path subscribers receive the same cloned * value shape they would get from `map.at(path).snap()`. */ import type { JsonValue } from "../../core/types.js"; import type { LiveMapCore, LiveMapStoreApi } from "../../types/livemap.types.js"; /** * Create the subscription surface for one LiveMap. * * - `subscribe` notifies after any root feed event. * - `subscribeDiff` notifies only when ordered data root identity changes. * - `subscribeSel` notifies when the selected value changes by `Object.is` or a * caller-provided equality function. * - `subscribePath` listens to one LivePath and compares detached path snapshots * by ordered data equality unless a caller-provided function is supplied. */ export declare function make_livemap_store_api(map: Pick, "snap" | "feed" | "at">): LiveMapStoreApi; //# sourceMappingURL=livemap.store.d.ts.map