import { BaseDriver } from '@appium/base-driver'; import { ChildProcessWithoutNullStreams } from 'node:child_process'; import type { ScreenRecorder } from './commands/screen-recorder'; import { NovaWindowsDriverConstraints } from './constraints'; import type { Chromedriver } from 'appium-chromedriver'; import type { DefaultCreateSessionResult, DriverData, Element, ExternalDriver, InitialOpts, RouteMatcher, StringRecord, W3CDriverCaps } from '@appium/types'; type W3CNovaWindowsDriverCaps = W3CDriverCaps; type DefaultWindowsCreateSessionResult = DefaultCreateSessionResult; type KeyboardState = { pressed: Set; shift: boolean; ctrl: boolean; meta: boolean; alt: boolean; }; declare const LOCATION_STRATEGIES: readonly ["id", "name", "xpath", "tag name", "class name", "accessibility id", "-windows uiautomation"]; export declare class NovaWindowsDriver extends BaseDriver { isPowerShellSessionStarted: boolean; powerShell?: ChildProcessWithoutNullStreams; powerShellStdOut: string; powerShellStdErr: string; keyboardState: KeyboardState; chromedriver: Chromedriver | null; proxyReqRes: ((...args: any) => any) | null; proxyCommand: ExternalDriver['proxyCommand'] | null; contexts: string[]; jwpProxyActive: boolean; currentContext: string | null; _screenRecorder: ScreenRecorder | null; webviewDevtoolsPort: number | null; constructor(opts?: InitialOpts, shouldValidateCaps?: boolean); canProxy(): boolean; proxyActive(): boolean; getProxyAvoidList(): RouteMatcher[]; findElement(strategy: string, selector: string): Promise; findElements(strategy: string, selector: string): Promise; findElementFromElement(strategy: string, selector: string, elementId: string): Promise; findElementsFromElement(strategy: string, selector: string, elementId: string): Promise; findElOrEls(strategy: typeof LOCATION_STRATEGIES[number], selector: string, mult: true, context?: string): Promise; findElOrEls(strategy: typeof LOCATION_STRATEGIES[number], selector: string, mult: false, context?: string): Promise; createSession(jwpCaps: W3CNovaWindowsDriverCaps, reqCaps?: W3CNovaWindowsDriverCaps, w3cCaps?: W3CNovaWindowsDriverCaps, driverData?: DriverData[]): Promise; deleteSession(sessionId?: string | null | undefined): Promise; private processSelector; } export {}; //# sourceMappingURL=driver.d.ts.map