///
/**
* html转换为Word文档,注意生成的文件不能使用openoffice正常打开
* @param html 需转换的内容
* @param attachment 文件名称
* @example html2docx(html,attachment);
*/
export default function html2docx(html: string, attachment?: string, rootpath?: string): Promise<{
attachment: string;
buff: Buffer;
content_type: string;
} | {
buff: Buffer;
content_type: string;
attachment?: undefined;
}>;