import { TimeScale, TimeSeries, TimeSeriesData, TimeSeriesValueTuple } from '../model'; export declare const MIN_STEP_INTERVAL_MS = 10; /** * Given a common time scale (see `getCommonTimeScale`), generates an array of * timestamp values in ms for the x axis of a graph. */ export declare function getXValues(timeScale: TimeScale): number[]; /** * Given a TimeSeries from a query and a common time scale (see `getCommonTimeScale`), * processes the time series values, filling in any timestamps that are missing * from the time series data with `null` values. */ export declare function getTimeSeriesValues(series: TimeSeries, timeScale: TimeScale): TimeSeriesValueTuple[]; /** * [DEPRECATED] Used for legacy LineChart 'category' axis approach. * Given a TimeSeries from a query and a common time scale (see `getCommonTimeScale`), * gets the values for the y axis of a graph, filling in any timestamps that are * missing from the time series data with `null` values. */ export declare function getYValues(series: TimeSeries, timeScale: TimeScale): Array; /** * Given a list of running queries, calculates a common time scale for use on * the x axis (i.e. start/end dates and a step that is divisible into all of * the queries' steps). */ export declare function getCommonTimeScale(seriesData: Array | undefined>): TimeScale | undefined; //# sourceMappingURL=time-series-data.d.ts.map