export interface CaptureOptions { hideElement?: HTMLElement | null; } export interface CaptureResult { blob: Blob; width: number; height: number; } /** * Capture a screenshot of the current viewport using html2canvas. * * The `hideElement` option temporarily hides the widget host element * during capture so it does not appear in the screenshot. The element * is always restored in a `finally` block. */ export declare function captureScreenshot(options?: CaptureOptions): Promise; /** * Check whether the html2canvas library is available. * Returns `false` if the dynamic import fails (e.g., peer dep not installed). */ export declare function isScreenshotAvailable(): Promise; /** * Convert an HTMLCanvasElement to a PNG Blob. */ export declare function canvasToBlob(canvas: HTMLCanvasElement): Promise; //# sourceMappingURL=screenshot.d.ts.map