import type { Server } from 'node:net'; import type { DefaultCreateSessionResult, DriverCaps, RouteMatcher } from '@appium/types'; import type { AndroidUiautomator2Driver } from 'appium-uiautomator2-driver'; import { XCUITestDriver } from 'appium-xcuitest-driver'; import { BaseDriver } from 'appium/driver.js'; import { getClipboard, setClipboard } from './commands/clipboard.js'; import { getContexts, getCurrentContext, setContext } from './commands/context.js'; import { clear, getText, setValue } from './commands/element.js'; import { execute } from './commands/execute.js'; import { click, longTap, performTouch, tap, tapEl } from './commands/gesture.js'; import { getScreenshot } from './commands/screen.js'; import { desiredCapConstraints } from './desired-caps.js'; import type { IsolateSocket } from './sessions/isolate_socket.js'; import type { LogMonitor } from './sessions/log-monitor.js'; import { executeElementCommand, executeGetVMCommand, executeGetIsolateCommand } from './sessions/observatory.js'; type FluttertDriverConstraints = typeof desiredCapConstraints; declare class FlutterDriver extends BaseDriver { socket: IsolateSocket | null; locatorStrategies: string[]; proxydriver: XCUITestDriver | AndroidUiautomator2Driver | null; device: any; portForwardLocalPort: string | null; localServer: Server | null; connectedVmServiceUrl: string | null; internalCaps: DriverCaps; receiveAsyncResponse: (...args: any[]) => Promise; proxyWebViewActive: boolean; executeElementCommand: typeof executeElementCommand; executeGetVMCommand: typeof executeGetVMCommand; executeGetIsolateCommand: typeof executeGetIsolateCommand; execute: typeof execute; executeAsync: typeof execute; getText: typeof getText; setValue: typeof setValue; clear: typeof clear; getScreenshot: typeof getScreenshot; click: typeof click; longTap: typeof longTap; tapEl: typeof tapEl; tap: typeof tap; performTouch: typeof performTouch; getContexts: typeof getContexts; getClipboard: typeof getClipboard; setClipboard: typeof setClipboard; getCurrentContext: typeof getCurrentContext; setContext: typeof setContext; protected _logmon: LogMonitor | null; protected currentContext: string; private driverShouldDoProxyCmd; constructor(opts: any, shouldValidateCaps: boolean); createSession(...args: any[]): Promise>; deleteSession(): Promise; installApp(appPath: string, opts?: {}): Promise; activateApp(appId: string): Promise; terminateApp(appId: string): Promise; back(): Promise; getOrientation(): Promise; setOrientation(orientation: string): Promise; validateLocatorStrategy(strategy: string): void; validateDesiredCaps(caps: DriverCaps): caps is DriverCaps; proxyCommand(url: string, method: string, body?: null): Promise; executeCommand(cmd: string, ...args: [string, [{ skipAttachObservatoryUrl: string; any: any; }]]): Promise; getProxyAvoidList(): RouteMatcher[]; proxyActive(): boolean; canProxy(): boolean; } export { FlutterDriver }; //# sourceMappingURL=driver.d.ts.map