import { type IHeaderPredicate } from "@gooddata/sdk-ui"; import { type IGeoLayerData } from "../../context/GeoLayersContext.js"; import type { IGeoLayerTooltipLookup } from "../../layers/common/customTooltipExecution.js"; import type { IMapFacade, IPopupFacade } from "../../layers/common/mapFacade.js"; import type { IGeoAdapterContext } from "../../layers/registry/adapterTypes.js"; import { type ILayerExecutionRecord } from "../../types/props/geoChart/internal.js"; interface IUseLayerTooltipsParams { /** * MapLibre map instance. */ map: IMapFacade | null; /** * Whether the map is ready for rendering. */ isMapReady: boolean; /** * Tooltip popup instance. */ tooltip: IPopupFacade | null; /** * Drillable predicates for tooltip interactions. */ drillablePredicates: IHeaderPredicate[]; /** * Layer executions for tooltip registration. */ layerExecutions: ILayerExecutionRecord[]; /** * Layer data map. */ layers: Map; /** * Adapter context for tooltip registration. */ adapterContext: IGeoAdapterContext; /** * Per-layer custom-tooltip lookups, keyed by layerId. */ tooltipLookups: Map; } /** * Hook that manages unified tooltip handling for all layers. * * @remarks * Registers ONE mousemove handler that queries all tooltip-enabled layers. * MapLibre returns features in render order (topmost first), so the tooltip * is shown for the visually topmost feature. * * @internal */ export declare function useLayerTooltips({ map, isMapReady, tooltip, drillablePredicates, layerExecutions, layers, adapterContext, tooltipLookups, }: IUseLayerTooltipsParams): void; export {}; //# sourceMappingURL=useLayerTooltips.d.ts.map