interface IHtmlPrintParams {
isPreview?: boolean;
printer?: number | undefined | string;
}
/**
* html打印 默认静默打印
* @param ele HTMLElement
* @param isPreview 是否需要打印预览 默认否
* @example htmlPrint(document.querySelector('.print'))
*/
export declare function htmlPrint(ele: HTMLElement, params: IHtmlPrintParams): Promise;
export declare function htmlPrint(ele: HTMLElement, isPreview?: boolean): Promise;
export {};
//# sourceMappingURL=index.d.ts.map