import * as React from 'react'; export interface ChartSeries { key: string; label: string; colorIndex?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | undefined; format?: Intl.NumberFormatOptions | undefined; } export interface ChartContext { width: number | undefined; height: number; data: readonly TRow[]; visibleSeries: readonly ChartSeries[]; color: (seriesKey: string) => string; formatX: (v: unknown) => string; formatY: (v: unknown, series?: ChartSeries) => string; reducedMotion: boolean; dir: 'ltr' | 'rtl'; } export type ChartAdapter = (ctx: ChartContext) => React.ReactNode; //# sourceMappingURL=types.d.ts.map