import { ChartTooltipEntryFormatter } from '../../utils/ChartUtils';
import ReactEChartsCore from 'echarts-for-react/lib/core';
type YAxisLabelFormatter = (value: number) => string;
export type CategorizedChartProps = {
    /**
     * The css style to apply to the chart container.
     * Use this to set specific with, padding, background color, etc.
     */
    style?: ReactEChartsCore['props']['style'];
    /**
     * The categories to display on the x axis.
     */
    categories: string[];
    /**
     * Optional callback to be called when the chart is clicked.
     */
    onClick?: (data: any) => void;
    /**
     * Whether to show the skeleton or not.
     */
    isLoading?: boolean;
    /**
     * Formatter used to format yAxis values.
     */
    yAxisLabelFormatter?: YAxisLabelFormatter;
    /**
     * Formatter used to format ySecondaryAxis values.
     */
    ySecondaryAxisLabelFormatter?: YAxisLabelFormatter;
    /**
     * Formatter function used to format values shown in tooltip.
     */
    tooltipEntryFormatter?: ChartTooltipEntryFormatter;
};
export {};
