import type { Orientation, StringRecord } from '@appium/types'; import type { AndroidUiautomator2Driver } from '../driver'; /** * Retrieves the current page source. * @returns The XML page source of the current screen. */ export declare function getPageSource(this: AndroidUiautomator2Driver): Promise; /** * Gets the current device orientation. * @returns The current device orientation ('LANDSCAPE' or 'PORTRAIT'). */ export declare function getOrientation(this: AndroidUiautomator2Driver): Promise; /** * Sets the device orientation. * @param orientation - The desired orientation ('LANDSCAPE' or 'PORTRAIT'). */ export declare function setOrientation(this: AndroidUiautomator2Driver, orientation: Orientation): Promise; /** * Opens the device notification shade. */ export declare function openNotifications(this: AndroidUiautomator2Driver): Promise; /** * Stops proxying to Chromedriver and restores UIA2 proxy. */ export declare function suspendChromedriverProxy(this: AndroidUiautomator2Driver): void; /** * Retrieves device info via the UIA2 server. * @returns Device information as a string record. */ export declare function mobileGetDeviceInfo(this: AndroidUiautomator2Driver): Promise; /** * Resets the accessibility cache on the device. */ export declare function mobileResetAccessibilityCache(this: AndroidUiautomator2Driver): Promise; //# sourceMappingURL=misc.d.ts.map