import type { QueryProps } from 'src/shared/types';
import type { ColumnProps } from '../components/ChartDetailsModal';
import type { ChartToolTipProps, DistributionQueryProps, TableColumn, TooltipField } from '../types';
interface StatisticsQueryData {
    query: QueryProps;
    valueKey: string;
    previousValueKey: string;
    changeKey: string;
    title: string;
    format?: string;
}
interface PieChartProps<TData extends {
    id: string | number;
}> {
    options?: Record<string, unknown>;
    title: string;
    colors?: string[];
    chartDetails?: {
        columns: ColumnProps[];
        data: Record<string, unknown>[];
    };
    url?: string;
    query: QueryProps;
    nameKey: string;
    valueKey: string;
    otherKey?: string;
    chartToolTip?: ChartToolTipProps;
    tooltipValueFormat: string;
    tooltipTitle?: string;
    tooltipUnit?: string;
    tooltipAdditionalFields?: (string | TooltipField)[];
    metricDetailData: {
        title: string;
        statisticsUrl?: string;
        topFiveChartTitle: string;
        bottomFiveChartTitle: string;
        itemStatisticsQuery: StatisticsQueryData;
        valueMetricsQuery: StatisticsQueryData;
        averageMetricsQuery: StatisticsQueryData;
        distributionMetricsQuery: DistributionQueryProps;
        yAxisDataNameKey: string;
        xAxisNameKey: string;
        xAxisLabel: string;
        yAxisLabel: string;
        nameKey: string;
        valueKey: string;
        dataGridSearchKey: string;
        dataGridColumns: TableColumn<TData>[];
        dataSearchInputPlaceHolder: string;
        detailsTableTitle?: string;
    };
}
declare const PieChart: <TData extends {
    id: string | number;
}>({ url, metricDetailData, nameKey, valueKey, query, otherKey, options, title, colors, tooltipValueFormat, tooltipTitle, tooltipUnit, tooltipAdditionalFields, chartToolTip, ...props }: PieChartProps<TData>) => import("react/jsx-runtime").JSX.Element;
export default PieChart;
