import { print as templateBrowerPrint } from './print'; interface ITemplatePrintParams { templateId: string; /** 模版参数 */ params?: Record; isPreview?: boolean; printer?: string | number; /** 不存储pdf */ noSavePdf?: boolean; /** 是否上升域名 当在qiankun环境使用了上升域名版本的jimu时需设为true */ upDomain?: boolean; } /** * 模版配置打印接口 * @name templatePrint * @param templateId - 模版id * @param params - 模版参数 * @param isPreview - 是否预览 * @param upDomain - 是否上升域名 在qiankun环境使用了上升域名版本的jimu时需设为true * @returns Promise 静默打印会返回 存储的 pdf 的 key */ export declare function templatePrint(params: ITemplatePrintParams): Promise; export declare function templatePrint(templateId: string, params: Record, isPreview?: boolean, upDomain?: boolean): Promise; export declare function templatePrint(templateId: string): Promise; export declare function templatePrint(templateId: string, isPreview: boolean): Promise; export declare namespace templatePrint { var setPirinter: (i: string | number) => (templateId: string, isPreview: boolean) => Promise; } /** * 模版打印api 后面版本可能会删除该api 建议使用 templatePrint * @deprecated */ export declare const print: typeof templateBrowerPrint; export * from "./getUrl"; export * from "./modal"; export { getPdfKeyApi as templateUploadPdf } from "../api/index"; //# sourceMappingURL=index.d.ts.map