import { type MutableRefObject } from "react"; import type { IGeoLayerData } from "../../context/GeoLayersContext.js"; import type { IMapFacade } from "../../layers/common/mapFacade.js"; import type { IGeoAdapterContext } from "../../layers/registry/adapterTypes.js"; import type { ILayerExecutionRecord } from "../../types/props/geoChart/internal.js"; /** * Updates layers on the map (in-place) when the adapter-declared update key changes. * * @remarks * This is the "no flicker" path: it should avoid remove+add. Structural changes are handled by * `useInitLayersToMap` via `getMapSyncKey`. * * @internal */ export declare function useUpdateLayersOnMap({ map, isMapReady, layerExecutions, layers, adapterContextRef, mapUpdateKey, }: { map: IMapFacade | null; isMapReady: boolean; layerExecutions: ILayerExecutionRecord[]; layers: Map; adapterContextRef: MutableRefObject; mapUpdateKey: string; }): void; //# sourceMappingURL=useUpdateLayersOnMap.d.ts.map