export class Socket {
    constructor(socket: any, server: any, request: any);
    server: any;
    io: any;
    socket: any;
    ip: any;
    userAgent: any;
    params: {
        [k: string]: string;
    };
    messages: any[];
    /** @type Function[]| Null[] */
    callbacks: Function[] | null[];
    bytesSent: number;
    bytesReceived: number;
    messagesSent: number;
    messagesReceived: number;
    since: any;
    seen: any;
    contacted: any;
    ping: number;
    timedout: boolean;
    rooms: MapeableSet;
    emit(k: any, v: any, cb: any): void;
    once(k: any, v: any): void;
    disconnect(noReconnect: any): void;
    listen(): void;
    onclose: (code: any, message: any, isBinary: any) => void;
    onerror: (err: any) => void;
    callback(c: any): number;
    oncallback(d: any, m: any): void;
    doreply(k: any, ...v: any[]): void;
    parse(o: any): any;
    onmessage: (e: any, isBinary: any) => void;
    processQueue(): void;
    write(messages: any): void;
    toJSON(): string;
    [inspect](): this & {
        server: string;
        io: string;
        socket: string;
        messages: string;
        callbacks: string;
        readyState: any;
    };
}
import { MapeableSet } from './utils.js';
import { inspect } from './utils.js';
