import { LegendItem } from '../../core/components/legend/categorical/types/legend.js'; import { InternalSliceData } from '../types/internal/pie-chart.js'; /** * Hook that generates the corresponding handlers to interact with the Pie * @param data - array of the pie slices * @returns Handlers to interact with the Pie slices */ export declare function usePieHandlers(data: InternalSliceData[]): { onLegendItemHover: (hoveredSeries?: LegendItem) => void; onLegendItemClicked: (visibleSlices: LegendItem[]) => void; };