import { Options, Plugin } from '../utils/options.js'; export declare enum EncryptionType { wep = "WEP", wpa = "WPA", wpaEap = "WPA2-EAP" } export type WiFiPluginOptions = { ssid: string; hidden?: boolean; } & ({ encryption: `${EncryptionType.wep | EncryptionType.wpa}`; password: string; } | {}) & (({ encryption: `${EncryptionType.wpaEap}`; password?: string; /** EAP method, like PEAP, TTLS or PWD */ eapMethod?: string; /** EAP identity */ eapIdentity?: string; /** EAP anonymous identity */ eapAnonymousIdentity?: string; /** EAP phase 2 method, like MSCHAPV2 or TLS */ eapPhase2Method?: string; } & {}) | {}); export default class WiFiPlugin implements Plugin { private readonly pluginOptions; constructor(pluginOptions: WiFiPluginOptions); configure(options: Options): Options | undefined | void; private generateWiFi; }