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"; /** * Sync layers to the map using adapter "re-init" semantics. * * @remarks * This hook owns "remove+add" lifecycle and keeps it per-layer when possible: * - Re-inits a layer if its adapter `getMapSyncKey()` changes or prepared `layerData` identity changes * - Falls back to full re-sync when layer order changes (z-order safety) * * @internal */ export declare function useInitLayersToMap({ map, isMapReady, layerExecutions, layers, mapSyncKey, adapterContextRef, }: { map: IMapFacade | null; isMapReady: boolean; layerExecutions: ILayerExecutionRecord[]; layers: Map; mapSyncKey: string; adapterContextRef: MutableRefObject; }): void; //# sourceMappingURL=useInitLayersToMap.d.ts.map