HEX
Server: Apache
System: Linux b5.s-host.com.ua 4.18.0-305.10.2.el7.x86_64 #1 SMP Fri Jul 23 21:00:55 UTC 2021 x86_64
User: unelbhzm (1470)
PHP: 8.0.18
Disabled: NONE
Upload Files
File: //usr/lib/node_modules/npm/node_modules/socks-proxy-agent/dist/index.d.ts
/// <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;