/** Browser-only: rasterize `` and complex `` (e.g. Highcharts) to `` PNGs. */ export interface RasterizeInPlaceOptions { /** * Mutate the caller's `root` instead of cloning. Default false — cloning avoids * disturbing a live SPA (Vue/React) while charts are replaced only on the export copy. */ mutate?: boolean; /** Extra CSS selectors to rasterize (e.g. `.highcharts-container`). */ selectors?: string[]; /** * Supersampling factor for PNG rasterization. Renders at `scale`× pixel density * but keeps `` / `` at layout size (default `1`, max `4`). * Recommended: `2` for chart exports. */ scale?: number; } /** True when the SVG is simple enough for dom-docx native rect/text conversion. */ export declare function isSimpleSvgElement(svg: Element): boolean; export interface PreparedExportRoot { root: Element; html: string; cleanup: () => void; } /** * Clone (by default) the export root, rasterize charts on the working copy, and return * `innerHTML` ready for conversion. The caller's live DOM is left unchanged unless * `mutate: true`. */ export declare function prepareRootForExport(root: Element, doc: Document, options?: RasterizeInPlaceOptions): Promise; /** Rasterize under `root` in the caller's live DOM. Prefer `convertHtmlToDocx({ rasterizeInPlace: true })` to clone off-screen. */ export declare function rasterizeInPlace(root: Element, options?: RasterizeInPlaceOptions): Promise; //# sourceMappingURL=rasterize-subtree.browser.d.ts.map