export declare function detectSize(html: any): { width: number; height: number; }; export declare function htmlToCanvas({ html, width, height }: { html: any; width: any; height: any; }): Promise;