/**
 * iOS SpringBoard bundle ID used to activate the system UI so permission
 * dialogs are accessible to Appium.
 */
export declare const SPRINGBOARD_BUNDLE_ID = "com.apple.springboard";
/**
 * Convert a string into an XPath 1.0 string literal.
 *
 * XPath 1.0 has no escape sequences inside quoted strings, so a backslash
 * before `'` is not valid (e.g. `'Don\'t Allow'` is a syntax error). Use
 * matching quotes that do not appear in the value, or assemble the value
 * with `concat()` when both quote types are present.
 */
export declare function toXPathStringLiteral(value: string): string;
export declare function androidButtonSelector(buttonText: string): string;
export declare function assertMobileNativeDialogCommand(browser: WebdriverIO.Browser, commandName: string): void;
/**
 * True when the driver reports that no dialog/button/alert is present.
 * Matches the same Appium and W3C variants that WebdriverIO already treats
 * as a missing element in shared response handling.
 */
export declare function isMissingDialogError(err: unknown): boolean;
/**
 * Handle a native iOS/Android alert or permission dialog.
 *
 * When `buttonText` is provided the matching button is clicked (accessibility
 * ID on iOS, XPath `@text` on Android). Otherwise the default
 * accept/dismiss alert command is used.
 */
export declare function handleMobileDialog(browser: WebdriverIO.Browser, action: 'accept' | 'dismiss', buttonText?: string): Promise<void>;
//# sourceMappingURL=mobileDialog.d.ts.map