import { DownloadItem } from '../actions/download'; import { PieWidgetData } from './types'; /** * Download menu items for the Pie widget. Always includes a CSV item with * `series, name, value` columns (one row per slice; series labels come from * `seriesNames` if provided, else `series_`). When `getCaptureEl` is * supplied, prepends a PNG item that rasterises the captured element via * `html2canvas`. */ export declare function createPieDownloadConfig(args: { filename: string; getData: () => PieWidgetData; seriesNames?: readonly string[]; getCaptureEl?: () => HTMLElement | null; pngPixelRatio?: number; pngBackgroundColor?: string | null; }): DownloadItem[];