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<string>;
/**
 * 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<void>;
/**
 * Accepts the currently displayed alert (W3C endpoint).
 */
export declare function postAcceptAlert(this: AndroidUiautomator2Driver): Promise<void>;
/**
 * 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<void>;
/**
 * Dismisses the currently displayed alert (W3C endpoint).
 */
export declare function postDismissAlert(this: AndroidUiautomator2Driver): Promise<void>;
//# sourceMappingURL=alert.d.ts.map