import Ecdh from './ecdh'; import { Socks5 } from './socks5'; import EcdhWeb from './ecdh-web'; declare const _default: { Ecdh: typeof Ecdh; EcdhWeb: typeof EcdhWeb; Socks5: typeof Socks5; rsa: { generateKeys: () => Promise<{ publicKey: string; publicKeyPem: string; privateKey: string; privateKeyPem: string; }>; encrypt: (data: string, publicKey: string) => Promise; decrypt: (encryptedBase64: string, privateKey: string) => Promise; encode: (data: string) => Promise; decode: (encryptedBase64: string) => Promise; }; cipher: { aesGcmEncrypt: (text: string, aesKey: CryptoKey, ivFirst?: boolean) => Promise; aesGcmDecrypt: (encryptedBase64: string, aesKey: CryptoKey, ivFirst?: boolean) => Promise; aesCryptoKey: (sharedBase64: string) => Promise; aesCryptoKeyFromHkdf: (sharedBase64: string, saltBase64: string, infoBase64: string) => Promise; aesGcmKey: (rawData: BufferSource) => Promise; rawKeyHex: (cryptoKey: CryptoKey) => Promise; rawKeyBytes: (cryptoKey: CryptoKey) => Promise; }; findFreePort: (startPort: number, maxRetries?: number) => Promise; getSystemProxy: () => Promise<{ ipaddress: string; port: number; } | undefined> | undefined; toPacScript: (proxy: string, rules?: string[], defaultProxy?: string, directs?: string[]) => string; toPacProxy: (ipaddress: string, port: number, options?: { type?: "PROXY" | "SOCKS5" | "ALL" | undefined; direct?: boolean | undefined; } | undefined) => string; pacScript: (host: string, port: number, options?: { rules?: string[] | undefined; type?: "PROXY" | "SOCKS5" | "ALL" | undefined; useSystem?: boolean | undefined; } | undefined) => Promise; getPacScript: (options?: { address?: string | undefined; port?: number | undefined; rules?: string[] | undefined; type?: "PROXY" | "SOCKS5" | "ALL" | undefined; directs?: string[] | undefined; useSystem?: boolean | undefined; } | undefined) => Promise; child_exec: (cmd: string) => Promise<[any, string]>; childExec: (cmd: string, timeout?: number) => Promise; brotliCompress: typeof import("./brotli").brotliCompress; brotliDecompress: typeof import("./brotli").brotliDecompress; readDirectory: (dir: string, callback?: import("../..").Ddan.Func1 | undefined) => Promise; readFiles: (dir: string, files: string[], callback?: import("../..").Ddan.Func1 | undefined) => Promise; access: (filePath: string, mode?: number) => Promise; chmodFile: (path: string, mode?: string | number) => Promise; chmod755: (path: string) => Promise<[any, undefined] | [null, boolean]>; }; export default _default;