import type { Rect, Size } from '@appium/types'; import type { AndroidUiautomator2Driver } from '../driver'; import type { RelativeRect } from './types'; /** * Gets the status bar height in pixels. * @returns The status bar height in pixels. */ export declare function getStatusBarHeight(this: AndroidUiautomator2Driver): Promise; /** * Gets the device pixel ratio. * @returns The device pixel ratio as a string. */ export declare function getDevicePixelRatio(this: AndroidUiautomator2Driver): Promise; /** * Gets the viewport rectangle coordinates. * @returns The viewport rectangle (left, top, width, height), accounting for status bar height. */ export declare function getViewPortRect(this: AndroidUiautomator2Driver): Promise; /** * Returns the viewport coordinates. * @returns The viewport rectangle (left, top, width, height). */ export declare function mobileViewPortRect(this: AndroidUiautomator2Driver): Promise; /** * Gets the window rectangle (W3C endpoint). * @returns The window rectangle (x, y, width, height). */ export declare function getWindowRect(this: AndroidUiautomator2Driver): Promise; /** * Gets the display density. * @returns The display density value. */ export declare function getDisplayDensity(this: AndroidUiautomator2Driver): Promise; /** * Gets the window size. * @returns The window size (width, height). */ export declare function getWindowSize(this: AndroidUiautomator2Driver): Promise; //# sourceMappingURL=viewport.d.ts.map