1 | import { CloneOptions, WindowOptions } from './dom/document-cloner';
|
2 | import { RenderOptions } from './render/canvas/canvas-renderer';
|
3 | import { ContextOptions } from './core/context';
|
4 | export declare type Options = CloneOptions & WindowOptions & RenderOptions & ContextOptions & {
|
5 | backgroundColor: string | null;
|
6 | foreignObjectRendering: boolean;
|
7 | removeContainer?: boolean;
|
8 | };
|
9 | declare const html2canvas: (element: HTMLElement, options?: Partial<Options>) => Promise<HTMLCanvasElement>;
|
10 | export default html2canvas;
|