import { ExtJsComponent } from "./extjscomponent";
import { ResponseType } from "../enums";
import { iResponse, iScenario, FindOptions, FindAllOptions, iValue } from "../interfaces";
import { PuppeteerResponse } from "./puppeteerresponse";
import { EvaluateFn } from "puppeteer-core";
export declare class ExtJSResponse extends PuppeteerResponse implements iResponse {
    get responseTypeName(): string;
    get responseType(): ResponseType;
    constructor(scenario: iScenario);
    findXPath(xPath: string): Promise<iValue>;
    findAllXPath(xPath: string): Promise<iValue[]>;
    waitForExists(path: string, timeout?: number): Promise<iValue>;
    type(selector: string, textToType: string, opts?: any): Promise<any>;
    clear(selector: string): Promise<any>;
    getComponentById(id: string): Promise<ExtJsComponent | null>;
    protected _getComponent(js: EvaluateFn<any>, name: string, path: string): Promise<iValue | ExtJsComponent>;
    private _injectScript;
    find(selector: string, a?: string | RegExp | FindOptions, b?: FindOptions): Promise<iValue>;
    findAll(selector: string, a?: string | RegExp | FindAllOptions, b?: FindAllOptions): Promise<iValue[]>;
    selectOption(selector: string, value: string | string[]): Promise<void>;
    private _getComponentOrElementFromHandle;
    private _getComponentFromElementHandle;
    private _query;
}
