aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/socks-proxy-agent/dist/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/socks-proxy-agent/dist/index.d.ts')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/socks-proxy-agent/dist/index.d.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/socks-proxy-agent/dist/index.d.ts b/sandbox/testAppNevena/Front/node_modules/socks-proxy-agent/dist/index.d.ts
new file mode 100644
index 00000000..d031b95d
--- /dev/null
+++ b/sandbox/testAppNevena/Front/node_modules/socks-proxy-agent/dist/index.d.ts
@@ -0,0 +1,21 @@
+/// <reference types="node" />
+import { Url } from 'url';
+import { SocksProxy } from 'socks';
+import tls from 'tls';
+import { AgentOptions } from 'agent-base';
+import _SocksProxyAgent from './agent';
+declare function createSocksProxyAgent(opts: string | createSocksProxyAgent.SocksProxyAgentOptions): _SocksProxyAgent;
+declare namespace createSocksProxyAgent {
+ interface BaseSocksProxyAgentOptions {
+ host?: string | null;
+ port?: string | number | null;
+ username?: string | null;
+ tls?: tls.ConnectionOptions | null;
+ }
+ export interface SocksProxyAgentOptions extends AgentOptions, BaseSocksProxyAgentOptions, Partial<Omit<Url & SocksProxy, keyof BaseSocksProxyAgentOptions>> {
+ }
+ export type SocksProxyAgent = _SocksProxyAgent;
+ export const SocksProxyAgent: typeof _SocksProxyAgent;
+ export {};
+}
+export = createSocksProxyAgent;