import type { AppiumLogger, HTTPMethod, HTTPBody } from '@appium/types'; import { JWProxy } from 'appium/driver'; import type { DesiredCapConstraintKeys } from './desired-caps'; declare class WADProxy extends JWProxy { didProcessExit?: boolean; isListening(): Promise; proxyCommand(url: string, method: HTTPMethod, body?: HTTPBody): Promise; } export interface WADProcessOptions { base: string; port?: number; executablePath: string; isForceQuitEnabled: boolean; } export interface WinAppDriverOptions { port?: number; reqBasePath?: string; url?: string; } export type WindowsDriverCaps = { [K in DesiredCapConstraintKeys]?: any; } & { 'ms:forcequit'?: boolean; createSessionTimeout?: number; prerun?: { command?: string; script?: string; }; postrun?: { command?: string; script?: string; }; }; export declare class WinAppDriver { private readonly log; private readonly opts; private process; private _proxy; constructor(log: AppiumLogger, opts: WinAppDriverOptions); get proxy(): WADProxy; start(caps: WindowsDriverCaps): Promise; stop(): Promise; sendCommand(url: string, method: HTTPMethod, body?: HTTPBody): Promise; private _prepareSessionWithBuiltInServer; private _prepareSessionWithCustomServer; private _startSession; } export {}; //# sourceMappingURL=winappdriver.d.ts.map