import type { ScaleTime } from 'd3-scale'; export type ChartDataPoint = { value: number; date: Date; x?: number; y?: number; }; export type ChartData = ChartDataPoint[]; export type ChartTimeseries = { points: ChartData; id: string; strokeColor: string; }; export type ChartFormatDate = (value: Date, period: Period) => string; export type ChartFormatAmount = (value: string | number) => string; export type ChartScrubParams = { point: ChartDataPoint; period: T; }; export type ChartXFunction = ScaleTime; export type ChartGetMarker = (xPos: number) => | { value: number; date: Date; x: number; y: number; } | undefined; //# sourceMappingURL=Chart.d.ts.map