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<string>;
/**
 * Gets the current device orientation.
 * @returns The current device orientation ('LANDSCAPE' or 'PORTRAIT').
 */
export declare function getOrientation(this: AndroidUiautomator2Driver): Promise<Orientation>;
/**
 * Sets the device orientation.
 * @param orientation - The desired orientation ('LANDSCAPE' or 'PORTRAIT').
 */
export declare function setOrientation(this: AndroidUiautomator2Driver, orientation: Orientation): Promise<void>;
/**
 * Opens the device notification shade.
 */
export declare function openNotifications(this: AndroidUiautomator2Driver): Promise<void>;
/**
 * 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<StringRecord>;
/**
 * Resets the accessibility cache on the device.
 */
export declare function mobileResetAccessibilityCache(this: AndroidUiautomator2Driver): Promise<void>;
//# sourceMappingURL=misc.d.ts.map