import type { QueryProps } from 'src/shared/types'; import type { ChartToolTipProps, DistributionChartTooltip, DistributionQueryProps, StatisticsQueryProps, TableColumn, TooltipField } from '../types'; interface DonutChartProps { title?: string; url?: string; query: QueryProps; nameKey: string; valueKey: string; colors?: string[]; chartDetails?: { columns?: any[]; data?: any[]; }; tooltipValueFormat: string; tooltipTitle?: string; tooltipUnit?: string; tooltipAdditionalFields?: (string | TooltipField)[]; currencyDisplaySymbol?: string; showLabels?: boolean; showTooltipMarker?: boolean; metricDetailData: { statisticsUrl?: string; title: string; topFiveChartTitle: string; bottomFiveChartTitle: string; itemStatisticsQuery: StatisticsQueryProps; valueMetricsQuery: StatisticsQueryProps; averageMetricsQuery: StatisticsQueryProps; distributionMetricsQuery: DistributionQueryProps; yAxisDataNameKey: string; xAxisNameKey: string; xAxisLabel: string; yAxisLabel: string; nameKey: string; valueKey: string; dataGridSearchKey: string; dataGridColumns: TableColumn[]; dataSearchInputPlaceHolder: string; chartToolTip?: ChartToolTipProps; detailsTableTitle?: string; distributionChartTooltip: DistributionChartTooltip; }; showDetailsModal?: boolean; } declare const DonutChart: ({ title, url, query, nameKey, valueKey, colors, tooltipValueFormat, chartDetails, tooltipTitle, tooltipUnit, tooltipAdditionalFields, showLabels, showTooltipMarker, metricDetailData, showDetailsModal, ...props }: DonutChartProps) => import("react/jsx-runtime").JSX.Element; export default DonutChart;