import { $, $Events } from '../Class/$';
import { System } from '../system';
import { Dict } from '../types/Dict';
import { CH } from '../types/interface/CH';
export type SocketEE = {
    message: [string];
    close: [number, string];
};
export type SocketEvents<_EE extends Dict<any[]>> = $Events<_EE & SocketEE> & SocketEE;
export declare function wrapWebSocket(webSocket: WebSocket, system: System): CH & $<SocketEvents<{}>>;
