import { ScaleTime } from 'd3-scale'; import type { Timeseries } from '../../../types/timeseries.js'; /** * Get x-scale for bar variant of the sparkline chart * * @param data - The timeseries data * @param width - The width of the plot area * @param padding - The padding of the chart * @param isBarVariant - Whether the sparkline is a bar variant * @returns The x-scale */ export declare const getSparklineXScale: (data: Timeseries, width: number, padding: number, isBarVariant?: boolean) => ScaleTime;