import type { Point } from '../../core/types/point.js'; import type { SankeyLayoutModel } from '../types/sankey-internal.js'; import type { SankeyShape } from '../types/sankey-shape.js'; export declare function isPointNearShape(layout: SankeyLayoutModel, shape: SankeyShape, point: Point, tolerance: number): boolean; /** * Like `findHoveredShape`, but keeps `lastShape` while the point is within * `tolerance` of it. A direct hit on any shape always wins. */ export declare function findStickyHoveredShape(layout: SankeyLayoutModel, point: Point, lastShape: SankeyShape | undefined, tolerance: number): SankeyShape | undefined; //# sourceMappingURL=find-sticky-hovered-shape.d.ts.map