import React from "react";
export declare const DEFAULT_COLORS: string[];
export declare function createColorMap({ categories, colors }: {
    categories: string[];
    colors: string[];
}): Map<string, string>;
interface LegendProps {
    colorMap: Map<string, string>;
    dark?: boolean;
    payload?: any;
}
export declare function ChartLegend({ colorMap, dark, payload }: LegendProps): React.JSX.Element;
interface TooltipProps {
    active?: boolean;
    colorMap: Map<string, string>;
    dark?: boolean;
    payload?: any;
    label: string;
}
export declare function ChartTooltip({ active, colorMap, dark, payload, label }: TooltipProps): React.JSX.Element | null;
export {};
//# sourceMappingURL=chart-components.d.ts.map