import type { SankeyLayoutModel, SankeyLayoutNode } from '../types/sankey-internal.js'; import type { SankeyShape } from '../types/sankey-shape.js'; export type SankeyNodeIndicatorState = 'hovered' | 'highlighted'; /** * The node the tooltip is attached to, drawn above the highlight regardless of * whether it is inside the active set. */ export interface SankeyNodeIndicator { node: SankeyLayoutNode; state: SankeyNodeIndicatorState; } /** * Resolves the node that carries the tooltip. A resolvable selection wins over * hover entirely, so a selected edge shows no node indicator even while a node * is hovered. Edges and drop-offs never get an indicator. */ export declare function getNodeIndicator(layout: SankeyLayoutModel, selected: SankeyShape | undefined, hovered: SankeyShape | undefined): SankeyNodeIndicator | undefined; //# sourceMappingURL=get-node-indicator.d.ts.map