import type { ActiveConnectedSet } from '../utils/get-active-connected-set.js'; /** * The active highlight set: the nodes and edges kept emphasized while every * other shape dims. It is the fixed `highlightedNodes` set when one resolves * against the graph, otherwise the set derived from the store's * `hovered`/`selected` identity against the current layout. `undefined` means * no active highlight (nothing dims). * * The node carrying the tooltip gets the hover overlay on the highlight canvas * when it belongs to this set, and is outlined on top by * `SankeyIndicatorCanvas` either way, so hovering never changes the set inside * a fixed highlight and a dimmed node stays dimmed. * * This is derived state, not source state: it is recomputed from the current * layout on every render rather than stored, so it never holds references to a * stale layout graph after a resize or data change. */ export declare const SankeyHighlightContext: import("react").Context; //# sourceMappingURL=SankeyHighlight.context.d.ts.map