import { WopeeService } from '../../domain/service/wopeeService.js'; import { Executor } from './methods.interface.js'; import { ElementRectanglesOptions, RectanglesOutput, ScreenRectanglesOptions } from './rectangles.interfaces.js'; /** * Determine the rectangles occupied by an element on a page or screenshot. * * @param {Object} options - The options for determining element rectangles. * @param {Function} options.executor - The executor function. * @param {string} options.base64Image - The base64 encoded screenshot image. * @param {Object} options.element - The element to determine rectangles for. * @returns {Promise} A Promise that resolves to an object containing element rectangles. * @throws {Error} If the element is not visible. */ export declare function determineElementRectangles(wopeeService: WopeeService, executor: Executor, base64Image: string, options: ElementRectanglesOptions, element: WebdriverIO.Element): Promise; /** * Calculate the optimal screen rectangles for capturing a screenshot. * * @param {string} base64Image - The base64 encoded screenshot image. * @param {ScreenRectanglesOptions} options - Options including devicePixelRatio, innerHeight, and innerWidth. * @returns {RectanglesOutput} - An object containing the calculated rectangles. */ export declare function determineScreenRectangles(base64Image: string, options: ScreenRectanglesOptions): RectanglesOutput; //# sourceMappingURL=rectangles.d.ts.map