import type { AndroidUiautomator2Driver } from '../driver'; /** * Gets the text of the currently displayed alert. * @returns The alert text as a string. */ export declare function getAlertText(this: AndroidUiautomator2Driver): Promise; /** * Accepts the currently displayed alert. * @param buttonLabel - Optional label of the button to click. If not provided, the button will be detected automatically. */ export declare function mobileAcceptAlert(this: AndroidUiautomator2Driver, buttonLabel?: string): Promise; /** * Accepts the currently displayed alert (W3C endpoint). */ export declare function postAcceptAlert(this: AndroidUiautomator2Driver): Promise; /** * Dismisses the currently displayed alert. * @param buttonLabel - Optional label of the button to click. If not provided, the button will be detected automatically. */ export declare function mobileDismissAlert(this: AndroidUiautomator2Driver, buttonLabel?: string): Promise; /** * Dismisses the currently displayed alert (W3C endpoint). */ export declare function postDismissAlert(this: AndroidUiautomator2Driver): Promise; //# sourceMappingURL=alert.d.ts.map