import { DownloadItem } from '../actions/download'; import { SpreadWidgetData } from './types'; /** * Download menu items for the Spread widget. Always includes a CSV item * with `series, prefix, min, max, suffix, note` columns (one row per * entry). When `getCaptureEl` is supplied, prepends a PNG item that * rasterises the captured element via `html2canvas`. */ export declare function createSpreadDownloadConfig(args: { filename: string; getData: () => SpreadWidgetData; getCaptureEl?: () => HTMLElement | null; pngPixelRatio?: number; pngBackgroundColor?: string | null; }): DownloadItem[];