import type OpenFin from "@openfin/core";
import type { IRect } from "./IRect";
/**
 * Web driver window interface.
 */
export interface IWebDriverWindow {
    /**
     * The handle of the window.
     */
    handle: string;
    /**
     * The title of the window.
     */
    title: string;
    /**
     * The url of the window.
     */
    url: string;
    /**
     * The identity of the component in the window.
     */
    identity: OpenFin.Identity | undefined;
    /**
     * Switch to the window.
     * @param activateNativeWindow Activate the native window as well.
     * @returns True if the switch was successful.
     */
    switchTo(activateNativeWindow?: boolean): Promise<boolean>;
    /**
     * Get the window information.
     * @returns The size, position and state of the window.
     */
    info(): Promise<(IRect & {
        isShowing: boolean;
        state: "minimized" | "maximized" | "normal";
    }) | undefined>;
}
