import { Channel } from './channel'; declare class WebSocketChannel implements Channel { private readonly ws; private readonly uid; private readonly gid; constructor(url: string, uid: number, gid: number); close(): void; send(msg: string): void; readonly readyState: number; removeEventListener(eventType: string, handler: any): void; on(eventType: string, handler: any): void; } export default WebSocketChannel;