/** * Pie / donut chart renderer. * * Layout (chart-recipes.md → Pie / donut): * - 2–12 slices (parser caps) * - Donut: inner radius is fraction of outer (0.5–0.65 recommended) * - Slice angles from cumulative percentages * - SVG arc path: pie uses M cx cy L x0 y0 A r r 0 largeArc 1 x1 y1 Z; * donut uses M outer-start A outer-end L inner-end A inner-start Z * - Slice labels rendered inside for slices ≥ 6% (skipped otherwise; the * legend always carries label + percentage) */ import type { PieContent } from "./schemas.js"; export interface PieRenderInput { title: string; subtitle?: string; content: PieContent; } export declare function renderPieBody({ content }: PieRenderInput): { chartHtml: string; chartCss: string; legendHtml: string; }; //# sourceMappingURL=pie.d.ts.map