import { CSSProperties } from 'react';
export interface DatasetItem {
    id: string | number;
    name: string;
    title?: string;
    color?: string;
    backgroundColor?: string;
    value: number | Array<number>;
}
interface Props {
    style?: CSSProperties;
    chartStyle?: CSSProperties;
    className?: string;
    legend?: "left" | "top" | "right" | "bottom" | "none";
    type: 'line' | 'bar' | 'horizontal bar' | 'scatter' | 'bubble' | 'radar' | 'area' | 'doughnut' | 'pie';
    datasets: DatasetItem[];
    xAxisConfig?: {
        name: string[] | {
            name: string;
            color?: string;
        }[];
        unit?: string;
        label?: {
            [k: string]: any;
        };
    };
    yAxisConfig?: {
        name: string[] | {
            name: string;
            color?: string;
        }[];
        unit?: string;
        label?: {
            [k: string]: any;
        };
    };
    indicator?: {
        name: string;
        max: number;
        min?: number;
        color?: string;
    }[];
    formatter?: (ev: any) => void | string;
    handleChartClick?: (ev: any) => void;
}
export declare const ChartByType: ({ xAxisConfig, yAxisConfig, legend, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=chartByType.d.ts.map