import { Dispatch, SetStateAction } from 'react'; declare const ChartLegend: ({ payload }: any, categoryColors: Map, setLegendHeight: Dispatch>, activeLegend: string | undefined, onClick?: ((category: string, color: string) => void) | undefined, enableLegendSlider?: boolean, customCategories?: { [key: string]: string; } | undefined) => import("react/jsx-runtime").JSX.Element; export default ChartLegend;