import { TemplateResult } from 'lit'; import { BahtChartBase, ChartGroup } from './charts.js'; /** * Pure-SVG donut with a legend that carries value and share. * * const el = document.createElement('baht-donut-chart'); * el.groups = [{ label: 'Open', count: 4 }, { label: 'Closed', count: 9 }]; * * `total` defaults to the group sum; set it when the center number differs * (e.g. records vs. groups). Segments are separated by a 2px gap that shows the * surface through, never by a stroke drawn around them. */ export declare class BahtDonutChart extends BahtChartBase { groups: ChartGroup[]; total: number | null; /** Single-series color override (first segment). */ color: string; centerLabel: string; /** Label of the folded tail bucket. */ otherLabel: string; private static readonly R; private static readonly GAP; protected render(): TemplateResult; }