import { DownloadItem } from '../actions/download'; import { TimeseriesWidgetData } from './types'; /** * Download menu items for the Timeseries widget. Always includes a CSV * item with `time, series_1, series_2, …` columns (one row per unique time * across all series; ISO-8601 strings for `Date`/numeric times). When * `getCaptureEl` is supplied, prepends a PNG item that rasterises the * captured element via `html2canvas`. */ export declare function createTimeseriesDownloadConfig(args: { filename: string; getData: () => TimeseriesWidgetData; seriesNames?: readonly string[]; getCaptureEl?: () => HTMLElement | null; pngPixelRatio?: number; pngBackgroundColor?: string | null; }): DownloadItem[];