export interface ScreenshotOptions {
    quality?: number;
    pixelRatio?: number;
    excludeShadowRoot?: ShadowRoot;
    excludeHosts?: Element[];
    /** When true (default), captures the full scrollable document. Set false for viewport-only. */
    fullPage?: boolean;
}
export interface ScreenshotResult {
    dataUrl: string;
    /** CSS-pixel width of the captured area. */
    width: number;
    /** CSS-pixel height of the captured area. */
    height: number;
    /** Device pixel ratio used during capture. */
    pixelRatio: number;
    /**
     * Releases the temporary layout patches applied for full-page capture.
     * MUST be called once any subsequent layout-dependent work (e.g. measuring
     * pin rects against the captured image via `drawMarkers`) is finished.
     * Safe to call multiple times.
     */
    dispose: () => void;
}
export declare function captureScreenshot(opts?: ScreenshotOptions): Promise<ScreenshotResult>;
//# sourceMappingURL=screenshot.d.ts.map