import { ReactNode } from 'react'; import { TypographyProps } from '@mui/material'; import { Property } from 'csstype'; import { ChartLegend } from '../Legend'; export type ChartType = "donut" | "bar" | "line" | "cumulative" | "pie" | "radar" | "table" | "raw"; export type AggregationOptions = { showAggregateToggle?: boolean; aggregateToggleLabel?: string; othersCategoryLabel?: string; othersThresholdPercent?: number; }; export type PolymorphicChartProps = { chartType: ChartType; values?: number[]; valuesUnit?: string; labels?: string[]; colors?: Property.Color[]; legend?: ChartLegend; icons?: ReactNode[]; children?: ReactNode; className?: string; valuesFormatterFn?: (value: number, precision?: number) => string; createPalette?: boolean; isLoading?: boolean; displayTotal?: string | boolean; displayTotalVariant?: TypographyProps["variant"]; spacing?: number; borderWidth?: number; borderColor?: Property.Color; fullWidthLegend?: boolean; hoverOffset?: number; showTooltip?: boolean; width?: string; height?: number; maxScore?: number | number[]; separator?: string; aggregation?: AggregationOptions; cumulativeDescriptions?: string[]; chartWidth?: number; }; export declare const PolymorphicChart: (props: PolymorphicChartProps) => import("react/jsx-runtime").JSX.Element;