/// import { WebSocket } from 'ws'; import type { Server } from 'http'; export interface WSMessage { type: string; [k: string]: unknown; } export interface WsServer { broadcast: (message: WSMessage) => void; onConnect: (callback: (ws: WebSocket) => void) => void; freeze: () => void; unfreeze: () => void; } export declare function attachWsServer(server: Server): WsServer; //# sourceMappingURL=ws.d.ts.map