import type { MapViewport, SelectionContext, TimeState } from '../core/types.js'; import type { RuntimeState } from '../runtime/runtime.js'; export interface MapSnapshot { state: RuntimeState; selection: SelectionContext | undefined; viewport: MapViewport | undefined; time: TimeState; } /** * Per-MapView external store. Slices are replaced (never mutated) only when they change, so * `useSyncExternalStore` selectors stay stable and components re-render only for what they read. */ export declare class MapStore { private snapshot; private readonly listeners; readonly subscribe: (listener: () => void) => (() => void); readonly get: () => MapSnapshot; set(patch: Partial): void; }