import type { LegendItem } from '../../core/components/legend/categorical/types/legend.js'; /** * Hook that generates the corresponding handlers to interact with the Treemap * @returns Handlers to interact with the Treemap nodes */ export declare function useTreeMapHandlers(): { onLegendItemHover: (items: LegendItem[] | undefined) => void; onLegendItemClick: (items: LegendItem[]) => void; };