import * as React from 'react';
import { CallbackDataParams, TopLevelFormatterParams } from 'echarts/types/dist/shared';
import { IconId } from '../components/icon/Icon';
import { IncrementLabelType } from '../propTypes/IncrementLabel';
export type ChartTooltipEntry = {
    iconId?: IconId;
    iconColor?: string;
    text: string;
    incrementLabelValue?: string;
    incrementLabelType?: IncrementLabelType;
};
export type ChartTooltipEntryFormatter = (params: {
    seriesIndex: number;
    seriesName: string;
    value: number;
    data: {
        tooltipName: string;
        tooltipOrder: number;
        tooltipValue: string;
        incrementLabelValue: string;
        incrementLabelType: IncrementLabelType;
    };
}) => ChartTooltipEntry;
export declare function useTooltipFormatter(chartTooltipEntryFormatter?: ChartTooltipEntryFormatter, getTooltip?: (param: CallbackDataParams) => React.ReactNode): (param: TopLevelFormatterParams) => HTMLElement;
