summaryrefslogtreecommitdiff
path: root/deps/node/deps/npm/node_modules/socks/typings/common/util.d.ts
blob: 14f658e22f2b01719223370d0ab5143e52a19c87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { SocksClientOptions, SocksClientChainOptions } from './constants';
/**
 * Error wrapper for SocksClient
 */
declare class SocksClientError extends Error {
    options: SocksClientOptions | SocksClientChainOptions;
    constructor(message: string, options: SocksClientOptions | SocksClientChainOptions);
}
/**
 * Shuffles a given array.
 * @param array The array to shuffle.
 */
declare function shuffleArray(array: any[]): void;
export { SocksClientError, shuffleArray };