import Connection from '../../helper/connection' /** * The Authenticator Class is responsible for resolving incoming * authentication requests specific for socks5 */ declare class Authenticator { /** * User suggested methods */ private readonly methods /** * Server acceptable methods */ private readonly availableMethods /** * Corresponding connection */ private readonly connection constructor(connection: Connection, methods: number[]) /** * Negotiates for authentication method with the user and authenticates users * @returns void */ authenticate(): void } export default Authenticator