import type SocketIO from 'socket.io'; export declare function login(socket: SocketIO.Socket): Promise;