import { Methods } from '../../domain/model/methods.interface.js'; import { ScreenshotSize } from '../../domain/model/screenshotSize.interface.js'; import { ScreenDimensions } from '../clientSideScript/screenDimensions.interfaces.js'; /** * Adjusts data values based on the device pixel ratio. * * @param {T} data - The data to be adjusted. * @param {number} devicePixelRatio - The device pixel ratio to scale the data. * @returns {T} - The adjusted data. */ export declare function calculateDprData(data: T, devicePixelRatio: number): T; /** * Waits for a specified amount of time. * * @param milliseconds - The time to wait in milliseconds. * @returns A Promise that resolves after the specified time. */ export declare function waitFor(milliseconds: number): Promise; /** * Retrieves the size of a screenshot in pixels, adjusted for device pixel ratio. * * @param screenshot - The screenshot data in base64 format. * @param devicePixelRatio - The device pixel ratio (default is 1). * @returns An object containing the width and height of the screenshot. */ export declare function getScreenshotSize(screenshot: string, devicePixelRatio?: number): ScreenshotSize; /** * Retrieve various screen dimensions for mobile run. * * @returns {ScreenDimensions} - An object containing dimensions for body, HTML, and window properties. */ export declare function getScreenDimensionsMobile(methods: Methods): Promise; //# sourceMappingURL=utils.d.ts.map