import { desiredCapConstraints } from './desiredCaps'; import { JWProxy, BaseDriver } from '@appium/base-driver'; import type { DefaultCreateSessionResult } from '@appium/types'; type FlutterDriverConstraints = typeof desiredCapConstraints; import { XCUITestDriver } from 'appium-xcuitest-driver'; import { AndroidUiautomator2Driver } from 'appium-uiautomator2-driver'; import { Mac2Driver } from 'appium-mac2-driver'; import { findElOrEls, click, getText, elementDisplayed, getAttribute, elementEnabled, setValue, clear, getElementRect } from './commands/element'; import type { RouteMatcher } from '@appium/types'; export declare class AppiumFlutterDriver extends BaseDriver { proxydriver: XCUITestDriver | AndroidUiautomator2Driver | Mac2Driver; flutterPort: number | null | undefined; private internalCaps; proxy: JWProxy | undefined; private proxyWebViewActive; readonly NATIVE_CONTEXT_NAME: string; currentContext: string; click: typeof click; findElOrEls: typeof findElOrEls; getText: typeof getText; getAttribute: typeof getAttribute; getElementRect: typeof getElementRect; elementDisplayed: typeof elementDisplayed; elementEnabled: typeof elementEnabled; setValue: typeof setValue; clear: typeof clear; constructor(args: any, shouldValidateCaps: boolean); static executeMethodMap: { 'flutter: doubleClick': { command: string; params: { required: never[]; optional: string[]; }; }; 'flutter: waitForVisible': { command: string; params: { required: never[]; optional: string[]; }; }; 'flutter: waitForAbsent': { command: string; params: { required: never[]; optional: string[]; }; }; 'flutter: scrollTillVisible': { command: string; params: { required: never[]; optional: string[]; }; }; 'flutter: longPress': { command: string; params: { required: never[]; optional: string[]; }; }; 'flutter: dragAndDrop': { command: string; params: { required: string[]; }; }; 'flutter: launchApp': { command: string; params: { required: string[]; optional: string[]; }; }; 'flutter: injectImage': { command: string; params: { required: string[]; }; }; 'flutter: activateInjectedImage': { command: string; params: { required: string[]; }; }; 'flutter: renderTree': { command: string; params: { required: never[]; optional: string[]; }; }; }; doubleClick(origin: any, offset: any, locator: any): Promise; injectImage(base64Image: string): Promise; activateInjectedImage(imageId: string): Promise; executeCommand(command: any, ...args: any): Promise; private handleContextSwitch; getProxyAvoidList(): RouteMatcher[]; createSession(...args: any[]): Promise>; waitForElementToBeGone(element: any, locator: any, timeout: number): Promise; waitForElementToBeVisible(element: any, locator: any, timeout: number): Promise; longPress(origin: any, offset: any, locator: any): Promise; dragAndDrop(source: any, target: any): Promise; scrollTillVisible(finder: any, scrollView: any, delta: any, maxScrolls: any, settleBetweenScrollsTimeout: any, dragDuration: any, scrollDirection: string): Promise; execute(script: any, args: any): Promise; proxyActive(): boolean; canProxy(): boolean; deleteSession(): Promise; mobilelaunchApp(appId: string, args: string[], environment: any): Promise; renderTree(widgetType?: string, text?: string, key?: string): Promise; } export {}; //# sourceMappingURL=driver.d.ts.map