export type ChartType = 'line' | 'bar' | 'donut'; export interface ChartPoint { label: string; value: number; color?: string; } interface ChartProps { type?: ChartType; data?: ChartPoint[]; height?: number; showLegend?: boolean; /** Max tick labels on the X axis (line/bar). */ maxLabels?: number; /** Draw numeric values on bars / near line points. */ showValues?: boolean; emptyLabel?: string; class?: string; } declare const Chart: import("svelte").Component; type Chart = ReturnType; export default Chart;