import type { ActionSequence, Location, Orientation, Rect, Size } from '@appium/types'; import type { FakeDriver } from '../driver'; /** Requires webview context (title comes from active document). */ export declare function title(this: FakeDriver): Promise; /** keys. */ export declare function keys(this: FakeDriver, value: string | string[]): Promise; /** setGeoLocation. */ export declare function setGeoLocation(this: FakeDriver, location: Location): Promise; /** getGeoLocation. */ export declare function getGeoLocation(this: FakeDriver): Promise; /** getPageSource. */ export declare function getPageSource(this: FakeDriver): Promise; /** getOrientation. */ export declare function getOrientation(this: FakeDriver): Promise; /** setOrientation. */ export declare function setOrientation(this: FakeDriver, o: Orientation): Promise; /** getScreenshot. */ export declare function getScreenshot(this: FakeDriver): Promise; /** getWindowSize. */ export declare function getWindowSize(this: FakeDriver): Promise; /** getWindowRect. */ export declare function getWindowRect(this: FakeDriver): Promise; /** performActions. */ export declare function performActions(this: FakeDriver, actions: ActionSequence[]): Promise; /** releaseActions. */ export declare function releaseActions(this: FakeDriver): Promise; /** Supported log types: 'actions'. TODO: add more log types if needed for tests. */ export declare function getLog(this: FakeDriver, type: string): Promise; /** mobileShake. */ export declare function mobileShake(this: FakeDriver): Promise; /** doubleClick. */ export declare function doubleClick(this: FakeDriver): Promise; /** execute. */ export declare function execute(this: FakeDriver, script: string, args: any[]): Promise; /** fakeAddition. */ export declare function fakeAddition(this: FakeDriver, num1: number, num2: number, num3?: number): Promise; /** Get current URL. Returns empty string until bidiNavigate (or equivalent) sets one. @see https://w3c.github.io/webdriver/#get-current-url */ export declare function getUrl(this: FakeDriver): Promise; /** Set current URL (used by Bidi browsingContext.navigate). */ export declare function bidiNavigate(this: FakeDriver, context: string, url: string): Promise; /** Return the last math result detected by a plugin that publishes it */ export declare function getLastPluginMath(this: FakeDriver): Promise<{ pluginName: string; result: number; } | null>; //# sourceMappingURL=general.d.ts.map