import { toCsvString, triggerLinkDownload, DownloadItem } from '../actions/download'; import { MarkdownWidgetData } from './types'; /** * Download menu items for the Markdown widget. Always includes a `.md` * item that saves the markdown source verbatim. When `getCaptureEl` is * supplied, prepends a PNG item that rasterises the captured element via * `html2canvas`. */ export declare function createMarkdownDownloadConfig(args: { filename: string; getData: () => MarkdownWidgetData; getCaptureEl?: () => HTMLElement | null; pngPixelRatio?: number; pngBackgroundColor?: string | null; }): DownloadItem[]; export { toCsvString, triggerLinkDownload };