///
import { ProtoResponse } from "../response";
import { HttpResponse } from "../http/http-response";
import { iValue } from "../interfaces/ivalue";
import { ValuePromise } from "../value-promise";
import { JsonDoc } from "../json/jpath";
import { PointerMove } from "../interfaces/pointer";
import { FindAllOptions, FindOptions } from "../interfaces/find-options";
import { GestureOpts, GestureType } from "../interfaces/gesture";
import { ScreenProperties } from "../interfaces/screen-properties";
import { DeviceProperties } from "../interfaces/device-properties";
import { ScreenshotOpts } from "../interfaces/screenshot";
import { AppiumScenario } from "./appium-scenario";
export declare class AppiumResponse extends ProtoResponse {
readonly scenario: AppiumScenario;
protected _sessionId?: string;
protected _geolocation?: any;
protected _capabilities?: any;
constructor(scenario: AppiumScenario);
init(res: HttpResponse): void;
get isAndroid(): boolean;
get isIos(): boolean;
jsonDoc?: JsonDoc;
getRoot(): any;
eval(): Promise;
get sessionId(): string;
set sessionId(sessionId: string);
get capabilities(): any;
getGeolocation(): Promise;
find(selector: string, a?: string | RegExp | FindOptions, b?: FindOptions): ValuePromise;
findAll(selector: string, a?: string | RegExp | FindAllOptions, b?: FindAllOptions): Promise[]>;
hideKeyboard(): Promise;
movePointer(...pointers: PointerMove[]): Promise;
gesture(type: GestureType, opts: GestureOpts): Promise;
rotateScreen(rotation: string | number): Promise;
getScreenProperties(): Promise;
waitForExists(selector: string, timeout?: number): ValuePromise;
waitForExists(selector: string, contains: string | RegExp, timeout?: number): ValuePromise;
waitForXPath(xPath: string, timeout?: number): ValuePromise;
waitForVisible(selector: string, timeout?: number): ValuePromise;
waitForHidden(selector: string, timeout?: number): ValuePromise;
isVisible(element: iValue): Promise;
setDeviceProperties(devProperties: DeviceProperties): Promise;
isAppInstalled(bundleId: string): Promise;
type(selector: string, textToType: string, opts?: any): ValuePromise;
clear(selector: string): ValuePromise;
clearThenType(selector: string, textToType: string, opts?: any): ValuePromise;
getDeviceProperties(): Promise;
protected _siriQueryAndResponse(setting: string): Promise;
getSource(): ValuePromise;
get(suffix: string): Promise;
post(suffix: string, data: any): Promise;
terminateApp(app: string, timeout?: number): Promise;
screenshot(): Promise;
screenshot(localFilePath: string): Promise;
screenshot(localFilePath: string, opts: ScreenshotOpts): Promise;
screenshot(opts: ScreenshotOpts): Promise;
resetApp(): Promise;
launchApp(app?: string, args?: string[], environment?: any): Promise;
getAppiumContexts(): Promise;
setAppiumContext(appiumContext: string): Promise;
goBack(): Promise;
backgroundApp(seconds?: number): Promise;
}