///
import { iValue } from "./interfaces/ivalue";
import { HttpRequest } from "./http/http-request";
import { ValuePromise } from "./value-promise";
import { FindAllOptions, FindOptions } from "./interfaces/find-options";
import { PointerMove } from "./interfaces/pointer";
import { GestureOpts, GestureType } from "./interfaces/gesture";
import { KeyValue, OptionalXY } from "./interfaces/generic-types";
import { ScreenProperties } from "./interfaces/screen-properties";
import { iAssertionContext } from "./interfaces/iassertioncontext";
import { iScenario } from "./interfaces/iscenario";
import { iResponse } from "./interfaces/iresponse";
import { iHttpResponse } from "./interfaces/http";
export declare abstract class ProtoResponse implements iResponse {
readonly scenario: iScenario;
protected _currentUrl: string | null;
protected _httpResponse: iHttpResponse;
constructor(scenario: iScenario);
init(res: iHttpResponse): void;
get context(): iAssertionContext;
abstract find(selector: string, opts?: FindOptions): ValuePromise;
abstract find(selector: string, contains: string, opts?: FindOptions): ValuePromise;
abstract find(selector: string, matches: RegExp, opts?: FindOptions): ValuePromise;
abstract findAll(selector: string, opts?: FindAllOptions): Promise[]>;
abstract findAll(selector: string, contains: string, opts?: FindAllOptions): Promise[]>;
abstract findAll(selector: string, matches: RegExp, opts?: FindAllOptions): Promise[]>;
eval(callback: any, ...args: any[]): Promise;
get httpResponse(): iHttpResponse;
get statusCode(): iValue;
get statusMessage(): iValue;
get body(): iValue;
get rawBody(): iValue;
get length(): iValue;
get headers(): iValue;
get cookies(): iValue;
get trailers(): iValue;
get jsonBody(): iValue;
get url(): iValue;
get finalUrl(): iValue;
get currentUrl(): iValue;
get redirectCount(): iValue;
get loadTime(): iValue;
get method(): iValue;
navigate(req: HttpRequest): Promise;
absolutizeUri(uri: string): string;
getRoot(): any;
getSource(): ValuePromise;
header(key: string): iValue;
cookie(key: string): iValue;
waitForFunction(..._args: any[]): Promise;
waitForNavigation(..._args: any[]): Promise;
waitForLoad(..._args: any[]): Promise;
waitForReady(..._args: any[]): Promise;
waitForNetworkIdle(..._args: any[]): Promise;
waitForHidden(..._args: any[]): ValuePromise;
waitForVisible(..._args: any[]): ValuePromise;
waitForExists(..._args: any[]): ValuePromise;
waitForNotExists(..._args: any[]): ValuePromise;
waitForHavingText(..._args: any[]): ValuePromise;
screenshot(): Promise;
type(selector: string, textToType: string, opts?: any): ValuePromise;
clear(selector: string): ValuePromise;
clearThenType(selector: string, textToType: string, opts?: any): ValuePromise;
waitForXPath(xPath: string): ValuePromise;
findXPath(xPath: string): ValuePromise;
findAllXPath(xPath: string): Promise[]>;
findHavingText(selector: string, searchForText: string | RegExp): ValuePromise;
findAllHavingText(selector: string, searchForText: string | RegExp): Promise[]>;
selectOption(selector: string, value: string | string[]): ValuePromise;
movePointer(...pointers: PointerMove[]): Promise;
gesture(type: GestureType, opts: GestureOpts): Promise;
scrollTo(_point: OptionalXY): Promise;
click(selector: string, opts?: FindOptions): ValuePromise;
click(selector: string, contains: string, opts?: FindOptions): ValuePromise;
click(selector: string, matches: RegExp, opts?: FindOptions): ValuePromise;
serialize(): object;
rotateScreen(rotation: string | number): Promise;
getScreenProperties(): Promise;
hideKeyboard(): Promise;
}