import type { HierarchyRectangularNode } from 'd3-hierarchy'; import type { InternalTreeMapNode } from '../types/internal.js'; type Position = { x: number; y: number; }; /** * Resolves the node the pointer is over, or the nearest one within its hover * reach when the pointer sits in a gutter between nodes. Returns `undefined` * only when nothing is close enough, so the tooltip is dismissed when leaving * the treemap rather than when crossing between two of its nodes. */ export declare const getTooltipData: (leafNodes: HierarchyRectangularNode[], clusterNodes: HierarchyRectangularNode[], relativePosition: Position, hasParentLabels?: boolean) => HierarchyRectangularNode | undefined; export {}; //# sourceMappingURL=get-tooltip-data.d.ts.map