Added already existing code for further development
This commit is contained in:
Marces Zastrow
2024-12-18 10:59:28 +01:00
commit dab55442be
2034 changed files with 264398 additions and 0 deletions
+14
View File
@@ -0,0 +1,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: unknown[]): void;
export { SocksClientError, shuffleArray };