import { DownloadItem } from '../actions/download'; import { HistogramWidgetData } from './types'; /** * Download menu items for histograms. Always includes a CSV item with * `bin_low, bin_high, series_1_count, series_2_count, …` columns (one row * per bin). When `getCaptureEl` is supplied, prepends a PNG item that * rasterises the captured element via `html2canvas`. */ export declare function createHistogramDownloadConfig(args: { filename: string; getData: () => HistogramWidgetData; getTicks: () => readonly number[]; seriesNames?: readonly string[]; getCaptureEl?: () => HTMLElement | null; pngPixelRatio?: number; pngBackgroundColor?: string | null; }): DownloadItem[];