import type { Point } from '../../core/types/point.js'; import type { SankeyHoveredShape } from '../types/sankey-hover.js'; import type { SankeyLayoutLink, SankeyLayoutModel, SankeyLayoutNode } from '../types/sankey-internal.js'; export declare function isPointInNode(node: SankeyLayoutNode, point: Point): boolean; export declare function isPointInLinkRibbon(link: SankeyLayoutLink, point: Point): boolean; /** * Finds the sankey shape under `point`, if any. * * Nodes are tested before links: node rects are small, deliberate targets * that the wider ribbons converging on them would otherwise swallow. Within * each category, the first match in layout order wins. */ export declare function findHoveredShape(layout: SankeyLayoutModel, point: Point): SankeyHoveredShape | undefined; //# sourceMappingURL=find-hovered-shape.d.ts.map