export default class WebSocketConnection { private host; private socket; private token; constructor(host: string); auth(token: string): Promise; send(data: any): void; emit(event: string, ...args: any[]): void; on(event: string, cb: Function): void; close(): void; }