import { Dispatch, SetStateAction } from 'react';
declare const ChartLegend: ({ payload }: any, categoryColors: Map<string, string>, setLegendHeight: Dispatch<SetStateAction<number>>, 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;
