2024-02-08 19:38:41 -05:00
|
|
|
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: unknown[]): void;
|
2024-06-03 15:44:25 -04:00
|
|
|
export { SocksClientError, shuffleArray };
|