/** * SunburstChart - API canonique (référence Svelte, React/Vue doivent s'aligner) * * Props obligatoires : * data SunburstChartDatum - nœud racine (label + children récursifs) * label string - aria-label du graphique * * Props optionnelles : * legend boolean (défaut false) - affiche la légende des top-level children * width number (défaut 320) - largeur du viewBox en px * height number (défaut 320) - hauteur du viewBox en px * class string - classe CSS supplémentaire * * Labels d'arcs : * Affichés sur les arcs de span > 0.28 rad. Couleur de texte calculée par * luminance (via chartContrast.ts) pour garantir le contraste WCAG AA sur * chaque fond catégoriel - pas de texte blanc fixe. * * Infobulle : format "parent, enfant" (séparateur ", ") - cohérent avec lot 1. */ export type SunburstChartTone = "category1" | "category2" | "category3" | "category4" | "category5" | "category6" | "category7" | "category8"; export type SunburstChartDatum = { label: string; value?: number; tone?: SunburstChartTone; children?: SunburstChartDatum[]; }; type SunburstChartProps = { data: SunburstChartDatum; label: string; legend?: boolean; width?: number; height?: number; class?: string; }; declare const SunburstChart: import("svelte").Component; type SunburstChart = ReturnType; export default SunburstChart; //# sourceMappingURL=SunburstChart.svelte.d.ts.map