import type { WebSocket } from 'ws';
export declare class WsRooms {
    private rooms;
    private clientRooms;
    subscribe(ws: WebSocket, room: string): void;
    unsubscribe(ws: WebSocket, room: string): void;
    removeClient(ws: WebSocket): void;
    broadcast(room: string, data: string): void;
    broadcastAll(data: string): void;
    getSubscribers(room: string): Set<WebSocket>;
}
//# sourceMappingURL=ws-rooms.d.ts.map