import type { Window } from './window'; /** * Navigation interface exposing commands to navigate browsing web and mobile contexts */ export interface Navigation { /** Command to navigate one step backward in the browsing context */ back(): void; /** Command to navigate one step forward in the browsing context */ forward(): void; /** * Switches to the window with the specified URL. * * @param url - The URL of the target window to switch to * @returns A promise that resolves to the {@link Window} object representing the switched-to window */ switchToWindow(url: string): Promise; /** * Closes the window with the specified URL. * * @param url - The URL of the target window to close * @returns A promise that resolves when the window with the specified URL has been successfully closed */ closeWindow(url: string): Promise; /** * Closes the current window. * * @returns A promise that resolves when the current window has been successfully closed */ closeWindow(): Promise; } //# sourceMappingURL=navigation.d.ts.map