import type { LayerPort } from "@trackunit/react-map-adapter-shared"; /** * Internal context that provides the adapter's LayerPort to layer rendering components. * * Provided by `createMapComponent` when the adapter has layer capabilities. * Consumed by the `` component to communicate layer data to the adapter. * * @internal */ export declare const MapLayerContext: import("react").Context void; onEntityInteraction: (handler: import("@trackunit/react-map-adapter-shared").EntityInteractionHandler) => () => void; onBackgroundClick: (handler: () => void) => () => void; onSourceReady: (configId: string, callback: () => void) => () => void; setShapeStyleDefaults: (defaults: import("@trackunit/react-map-adapter-shared").ShapeStyleDefaults) => void; markerPortals?: import("@trackunit/react-map-adapter-shared").DomPortalStore | null; clusterPortals?: import("@trackunit/react-map-adapter-shared").DomPortalStore | null; }> | null>; /** * Hook to access the LayerPort from the nearest MapLayerContext. * Returns null if the adapter doesn't support layers. * * @internal */ export declare const useLayerPort: () => LayerPort | null;