import * as React from "react"; import { FileType } from "../TempEditorV2/tempUtils"; import { CellDataProps } from "../../utils/excel/valueProps"; import { PrintDataProps } from "../TempEditorV2/downloadUtils"; export declare type PaperFormat = "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "自定义"; export interface ExportAndPrintProps extends PrintDataProps { type: FileType; fileName: string; html?: (() => string) | string; text?: (() => string) | string; excel?: Record>>; varMap?: Record; hideBtnName?: boolean; } export declare const genStr: (fnOrStr?: (() => string) | string) => string; export declare const htmlAddRoot: (html?: (() => string) | string, paperFormat?: PaperFormat) => string; declare const ExportAndPrint: React.FC; export default ExportAndPrint;