import { type CsvDialect, type ExportDocument } from './anamnesis-export'; /** Hand a Blob to the browser as a download. Returns `false` where there is no * DOM to hand it to (SSR, a node test), so callers can fall back rather than * throw. */ export declare function downloadBlob(blob: Blob, filename: string): boolean; /** Download the document as a `.csv` in the dialect its locale calls for. */ export declare function downloadCsv(doc: ExportDocument, dialect?: CsvDialect): boolean; /** Download the document as an `.xlsx`. Async: the workbook library is dynamic-imported. */ export declare function downloadXlsx(doc: ExportDocument): Promise; //# sourceMappingURL=anamnesis-export-download.d.ts.map