import type { FakeDriver } from '../driver'; /** NATIVE_APP, PROXY, and WEBVIEW_1, WEBVIEW_2, ... from app model. */ export declare function getRawContexts(this: FakeDriver): Record; /** Throw if current context is NATIVE_APP (e.g. CSS/title require a webview). */ export declare function assertWebviewContext(this: FakeDriver): void; /** getCurrentContext. */ export declare function getCurrentContext(this: FakeDriver): Promise; /** getContexts. */ export declare function getContexts(this: FakeDriver): Promise; /** setContext. */ export declare function setContext(this: FakeDriver, context: string): Promise; /** setFrame. */ export declare function setFrame(this: FakeDriver, frameId: number | null): Promise; //# sourceMappingURL=contexts.d.ts.map