import type { FlameDatapointInternal, FlameSeriesWithDatapoints, MapDatapoints } from '../types/xy-chart-internals.js'; /** * Datapoints to draw per flame series while one of its datapoints is pinned: * the pinned node, its ancestors and its descendants. Series without a pinned * node are absent, so callers fall back to the full series. * * The hierarchy comes from the series, built once while its data is * processed. It covers the whole source data, so spans that are not drawn, * such as the parents hidden in an isolated view, still link their neighbors * and only the drawn ones are returned. The drawn data is the only visibility * source, so the highlight shows exactly what the base layer shows. * * Only the layer that draws the highlight should call it. The base layer * stays untouched, so pinning never repaints it. The state is read above the * canvas because a canvas only repaints when its parent re-renders. */ export declare function useFlameHierarchyHighlight(flameSeries: FlameSeriesWithDatapoints[], datapointMetadataMap: MapDatapoints): Map; //# sourceMappingURL=useFlameHierarchyHighlight.d.ts.map