import { type ChartDataEntry, type ChartSize } from "../chartConfig.js"; export * from "./variants.js"; type PieChartProps = { data: ChartDataEntry[]; /** Optional title rendered above the chart. */ title?: string; /** Size preset — controls chart height. */ size?: ChartSize; innerRadius?: number; /** Show a total value in the center of a donut chart. */ centerLabel?: string; centerValue?: string | number; /** Value formatter for labels on slices. Default: number with locale separators. */ formatValue?: (value: number) => string; }; export declare function PieChart({ data, title, size, innerRadius, centerLabel, centerValue, formatValue, }: PieChartProps): import("react").JSX.Element; /** Donut chart — PieChart with a center hole. Shows total in center by default. */ export declare function DonutChart({ data, centerLabel, centerValue, ...rest }: Omit & { title?: string; }): import("react").JSX.Element; //# sourceMappingURL=index.d.ts.map