export type ChartType = "bar" | "line" | "area" | "pie" | "doughnut"; export interface ChartTooltipContext { label: string; value: number; datasetLabel?: string; percent?: number; total?: number; index?: number; datasetIndex?: number; } export interface ChartTooltipOptions { showLabel?: boolean; showDataset?: boolean; showValue?: boolean; showPercent?: boolean; } export interface ChartDataset { label: string; data: number[]; color?: string; colors?: string[]; fill?: boolean; } export interface ChartOptions { selector: string; type: ChartType; title?: string; theme?: "light" | "dark"; showLegend?: boolean; showSummary?: boolean; data: { labels: string[]; datasets: ChartDataset[]; }; tooltip?: ChartTooltipOptions; tooltipFormatter?: (context: ChartTooltipContext) => string; valueFormatter?: (value: number) => string; summaryFormatter?: (dataset: ChartDataset, stats: { total: number; average: number; max: number; min: number; }) => string; hydrate?: boolean; } //# sourceMappingURL=Chart.types.d.ts.map