openclaw/apps/web/html-to-docx.d.ts

14 lines
340 B
TypeScript
Raw Normal View History

declare module "html-to-docx" {
interface HtmlToDocxOptions {
table?: { row?: { cantSplit?: boolean } };
footer?: boolean;
pageNumber?: boolean;
[key: string]: unknown;
}
export default function htmlToDocx(
htmlString: string,
headerHtml?: string | null,
options?: HtmlToDocxOptions,
): Promise<Blob>;
}