Files
pyrofetes-frontend/node_modules/socks/typings/common/util.d.ts
CHEVALLIER Abel cb235644dc init
2025-11-13 16:23:22 +01:00

15 lines
484 B
TypeScript

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;
export { SocksClientError, shuffleArray };