import { AuthMethod } from './authMethod' import Connection from './connection' import { ObfsBuilder } from '../obfs/obfs' interface Req { connect: (connection: Connection) => void associate: (connection: Connection) => void bind: (connection: Connection) => void } /** * The Handlers class contains handler functions corresponding * to authentication and request (connect | associate | bind) */ export declare class Handlers { userId: (userId: string) => boolean auth: AuthMethod[] req: Req obfs: ObfsBuilder[] constructor( req: Req, auth?: AuthMethod[], obfs?: ObfsBuilder[], userId?: (userId: string) => boolean ) } export {}