import type { RectanglesOutput } from './rectangles.interfaces.js'; type ExecuteScript = (fn: (...args: Args) => ReturnValue, ...args: Args) => Promise; type ExecuteMobile = (fn: string, args?: Record) => Promise; interface BrowsingContextCaptureScreenshotParameters { context: string; origin?: 'viewport' | 'document'; format?: { type: string; quality?: number; }; clip?: { type: 'box'; x: number; y: number; width: number; height: number; }; } export type BidiScreenshot = (options: BrowsingContextCaptureScreenshotParameters) => Promise<{ data: string; }>; export type Executor = ExecuteScript & ExecuteMobile; export type GetElementRect = (elementId: string) => Promise; export type GetWindowHandle = () => Promise; export type TakeScreenShot = () => Promise; export type TakeElementScreenshot = (elementId: string) => Promise; export interface Methods { bidiScreenshot?: BidiScreenshot; executor: Executor; getElementRect?: GetElementRect; getWindowHandle?: GetWindowHandle; screenShot: TakeScreenShot; takeElementScreenshot?: TakeElementScreenshot; } export {}; //# sourceMappingURL=methods.interfaces.d.ts.map