import type { RouteMatcher, DefaultCreateSessionResult, InitialOpts, StringRecord, ExternalDriver, W3CDriverCaps } from '@appium/types'; import { BaseDriver } from 'appium/driver.js'; import { GeckoDriverServer } from './gecko.js'; import { desiredCapConstraints } from './desired-caps.js'; import * as findCommands from './commands/find.js'; export type GeckoConstraints = typeof desiredCapConstraints; export declare class GeckoDriver extends BaseDriver implements ExternalDriver { static newMethodMap: { readonly '/session/:sessionId/moz/context': { readonly GET: { readonly command: "getContext"; }; readonly POST: { readonly command: "setContext"; readonly payloadParams: { readonly required: readonly ["context"]; }; }; }; readonly '/session/:sessionId/moz/addon/install': { readonly POST: { readonly command: "installAddon"; readonly payloadParams: { readonly validate: (payloadData: any) => false | "Either 'addon' or 'path' must be provided"; readonly optional: readonly ["addon", "path", "temporary", "allowPrivateBrowsing"]; }; }; }; readonly '/session/:sessionId/moz/addon/uninstall': { readonly POST: { readonly command: "uninstallAddon"; readonly payloadParams: { readonly required: readonly ["id"]; }; }; }; readonly '/session/:sessionId/moz/screenshot/full': { readonly GET: { readonly command: "takeFullScreenshot"; }; }; }; proxyReqRes: (...args: any) => any; findElOrEls: typeof findCommands.findElOrEls; private isProxyActive; private _gecko; private _bidiProxyUrl; constructor(opts?: InitialOpts); get gecko(): GeckoDriverServer; get bidiProxyUrl(): string | null; proxyActive(sessionId?: string): boolean; getProxyAvoidList(): RouteMatcher[]; canProxy(): boolean; validateDesiredCaps(caps: any): caps is any; createSession(w3cCaps1: W3CDriverCaps, w3cCaps2?: W3CDriverCaps, ...args: any[]): Promise>; deleteSession(): Promise; private resetState; private _extractWebSocketUrl; } export default GeckoDriver; //# sourceMappingURL=driver.d.ts.map