import { CellDataProps } from "../../utils/excel/valueProps"; import { FileType } from "./tempUtils"; export declare type PaperFormat = "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "自定义"; export interface PrintDataProps { width?: number; height?: number; paddingLeft?: number; paddingRight?: number; displayHeaderFooter?: boolean; landscape?: boolean; paperFormat?: PaperFormat; } export interface ExportAndPrintProps extends PrintDataProps { type: FileType; fileName: string; html?: string; text?: string; excel?: Record>>; varMap?: Record; } /** * 通过一些列tempId和一个原始data,根据模板对应的映射来合成需要的数据,然后语句下载的类型,生成对应的ZIP文件 * @param data * @param fileName */ export interface DownloadFileByTempsProps { tempIds: string[]; zipFileName?: string; fromData?: any; toData?: any; fileTypes?: FileType[]; flowIncId?: string; apiName?: string; params?: any; } export declare const downloadZipFileByTemps: (props: DownloadFileByTempsProps) => Promise;