import { EAPMethod } from '../Wifi/IWifi'; import INetworkInfo, { INetworkInterface, INetworkOptions, INetworkOptionsLegacy, NetworkInterface } from './INetworkInfo'; /** Details for importing a certificate for EAP authentication. */ export interface CertificateEapDetails { /** Type of EAP authentication */ type: EAPMethod; /** CA certificate */ caCertificate?: string; /** Client certificate for EAP-TLS */ clientCertificate?: string; /** Private key for client certificate for EAP-TLS */ clientKey?: string; /** Password for the private key, if it's encrypted */ clientCertificatePassword?: string; } export default interface INetwork { getActiveInfo(): Promise; listInterfaces(): Promise; setManual(options: INetworkOptionsLegacy): Promise; setManual(interfaceName: string, options: INetworkOptions): Promise; setDHCP(networkInterface: NetworkInterface): Promise; setDHCP(interfaceName: string): Promise; disableInterface(interfaceName: string): Promise; importCertificate(details: CertificateEapDetails): Promise; sendUdp(ip: string, port: number, data: number[]): Promise; sendWakeOnLan(macAddress: string): Promise; } export declare const VCertificateEapDetails: { type: { string: string[]; }; caCertificate: string; clientCertificate: string; clientKey: string; clientCertificatePassword: string; };