import { ServerSocket } from '../API';
import { $, $Events } from '../Class/$';
import { System } from '../system';
import { Dict } from '../types/Dict';
import { CH } from '../types/interface/CH';
export type ServerSocketEE = {
    message: [string];
    close: [{
        code: number;
        message: string;
    }];
};
export type ServerSocketEvents<_EE extends Dict<any[]>> = $Events<_EE & ServerSocketEE> & ServerSocketEE;
export declare function wrapServerSocket(_socket: ServerSocket, system: System): CH & $<ServerSocketEvents<{}>>;
