export type DonutChartTone = "category1" | "category2" | "category3" | "category4" | "category5" | "category6" | "category7" | "category8"; export type DonutChartDatum = { label: string; value: number; tone?: DonutChartTone; }; import { type DataLabelsProp } from "./chartDataLabels.js"; type DonutChartProps = { data: DonutChartDatum[]; /** Diamètre du SVG. */ size?: number; /** Épaisseur de l'anneau. */ thickness?: number; /** Texte au centre (sinon le total). null pour masquer. */ centerLabel?: string | null; /** * Per-slice value labels. `false`/absent (default) → none. `true` → each * slice's value with the default formatter. Object → `format(value)` and/or a * `position` override (default `center` of the arc). Slices too thin to fit a * legible label are skipped. Labels are `aria-hidden` — the values already * live in the accessible ChartDataList. */ dataLabels?: DataLabelsProp; label: string; class?: string; }; declare const DonutChart: import("svelte").Component; type DonutChart = ReturnType; export default DonutChart; //# sourceMappingURL=DonutChart.svelte.d.ts.map