import type { XCUITestDriver } from '../driver';
/**
 * Navigate back in the browser history or native app navigation.
 */
export declare function back(this: XCUITestDriver): Promise<void>;
/**
 * Navigate forward in the browser history.
 */
export declare function forward(this: XCUITestDriver): Promise<void>;
/**
 * Closes the current window in a web context.
 *
 * @returns Promise that resolves when the window is closed
 */
export declare function closeWindow(this: XCUITestDriver): Promise<any>;
/**
 * Opens the given URL with the default application assigned to handle it based on the URL
 * scheme, or the application provided as an optional parameter
 *
 * (Note: the version of Xcode must be 14.3+ and iOS must be 16.4+)
 *
 * @param url - the URL to be opened, e.g. `myscheme://yolo`
 * @param bundleId - the application to open the given URL with. If not provided, then
 * the application assigned by the operating system to handle URLs of the appropriate type
 * @since 4.17
 */
export declare function mobileDeepLink(this: XCUITestDriver, url: string, bundleId?: string): Promise<void>;
/**
 * Navigate back in native app navigation by finding and clicking the back button.
 */
export declare function nativeBack(this: XCUITestDriver): Promise<void>;
//# sourceMappingURL=navigation.d.ts.map