UNPKG

484 BTypeScriptView Raw
1import { SocksClientOptions, SocksClientChainOptions } from './constants';
2/**
3 * Error wrapper for SocksClient
4 */
5declare class SocksClientError extends Error {
6 options: SocksClientOptions | SocksClientChainOptions;
7 constructor(message: string, options: SocksClientOptions | SocksClientChainOptions);
8}
9/**
10 * Shuffles a given array.
11 * @param array The array to shuffle.
12 */
13declare function shuffleArray(array: unknown[]): void;
14export { SocksClientError, shuffleArray };