UNPKG

@mytmpvpn/mytmpvpn-client

Version:

MyTmpVpn Client Library

15 lines (14 loc) 629 B
interface UserConfig { version: number; profiles: Record<string, UserProfile>; } interface UserProfile { username: string; password?: string; } declare function getDefaultUserConfigDir(): string; declare function getDefaultUserConfigFile(): string; declare function getDefaultUserProfile(): string; declare function loadUserConfig(userConfigFile: string): UserConfig; declare function loadUserProfile(userConfigFile: string, profileName: string): UserProfile; export { type UserConfig, type UserProfile, getDefaultUserConfigFile, getDefaultUserProfile, loadUserProfile, loadUserConfig, getDefaultUserConfigDir };