UNPKG

wireguard-client-wrapper

Version:
13 lines (12 loc) 556 B
import { WgStrategy, WgResponse } from './wgStrategy'; export declare class WgWindowsStrategy extends WgStrategy { isInstalled(): Promise<boolean>; getActiveDevice(): Promise<string | null>; up(filePath: string): Promise<void>; down(filePath: string): Promise<void>; getNameFromPath(filePath: string): string; status(device: string): Promise<boolean>; generatePrivateKey(): Promise<string>; getPublicKey(privateKey: string): Promise<string>; protected exec(command: string, sudoPrompt?: boolean): Promise<WgResponse>; }