/// <reference types="node" />
/**
*
* This file is generated automatically, run npm run build to re-generate.
**/
import { SelectorType } from './enums/selector-types';
import Driver from './driver';
import { Options } from './flow-types/options';
import Alert from './alert';
import Element from './element';
import Frame from './frame';
import GlobalMouse from './global-mouse';
import GlobalTouch from './global-touch';
import Navigator from './navigator';
import BaseWindow from './base-window';
import WindowHandle from './window-handle';
declare class ActiveWindow extends BaseWindow {
    touch: GlobalTouch;
    mouse: GlobalMouse;
    navigator: Navigator;
    frame: Frame;
    alert: Alert;
    _options: Options;
    constructor(driver: Driver, options: Options);
    getWindowHandle(): WindowHandle;
    execute(script: string | Function, args?: Array<any>): any;
    asyncExecute(script: string | Function, args?: Array<any>): void;
    sendKeys(str: string | Array<string>): void;
    takeScreenshot(): Buffer;
    getActiveElement(): Element;
    getElement(selector: string, selectorType?: SelectorType): Element;
    tryGetElement(selector: string, selectorType?: SelectorType): Element | null;
    getElements(selector: string, selectorType?: SelectorType): Array<Element>;
    getElementsByTextContent(textContent: string, selector?: string, selectorType?: SelectorType): Array<Element>;
    getElementByTextContent(textContent: string, selector?: string, selectorType?: SelectorType): Element;
    tryGetElementByTextContent(textContent: string, selector?: string, selectorType?: SelectorType): Element | null;
    hasElement(selector: string, selectorType?: SelectorType): boolean;
    close(): void;
    getTitle(): string;
    getSource(): string;
    goForward(): void;
    goBackward(): void;
    refresh(): void;
    getUrl(): string;
    navigateTo(path: string): void;
}
export default ActiveWindow;
