export declare enum MODE_ENUM { SOCKS5 = "SOCKS5", HTTP = "HTTP" } export interface GetProxyInfoResult { id: number; mode: MODE_ENUM; addr: string; port: number; user?: string; password?: string; } declare function getProxyInfo(): Promise<{}>; declare namespace getProxyInfo { var version: { pc: string; }; } export default getProxyInfo;