/** * Public entry for the type:"chart" PI tool route (v0.2 slice 3). * * Dispatches to per-type chart renderers based on the ChartContent * discriminator, wraps the result in the standard chart HTML shell * (header + main + style block + aesthetic CSS). */ import type { FgraphAesthetic } from "../../types.js"; export { parseChartContent, SUPPORTED_CHARTS, type BarContent, type BarSeries, type ChartContent, type DataPoint, type InteractiveBarContent, type InteractiveLineContent, type LineContent, type LineSeries, type PieContent, type PieSlice, type SupportedChart, type TableColumn, type TableContent, type TableRow, } from "./schemas.js"; import type { ChartContent } from "./schemas.js"; export interface GenerateChartInput { title: string; subtitle?: string; content: ChartContent; aesthetic: FgraphAesthetic; } /** * Render a single-file HTML chart from typed ChartContent. Returns the * complete HTML string; the caller writes it to disk + opens in browser * (see writeHtmlFile + openInBrowser in src/index.ts). */ export declare function generateChartTemplate(input: GenerateChartInput): string; //# sourceMappingURL=index.d.ts.map