import { NextApplication } from ".."; import { WebSocketServer } from 'ws'; import { NextSocketRouter } from "./NextSocketRouter"; import { NextSocketOptions } from "./NextSocketOptions"; import { NextSocketClient } from "./NextSocketClient"; export declare class NextSocket { options: NextSocketOptions; app: NextApplication; server: WebSocketServer; router: NextSocketRouter; private connections; private redisAdapter?; getConnections(): NextSocketClient[]; constructor(options: NextSocketOptions, app: NextApplication); private stop; private start; private initRedisAdapter; private registerEvents; private handleRoomOperation; joinRoom(clientId: string, room: string): Promise; leaveRoom(clientId: string, room: string): Promise; broadcastToRoom(room: string, message: any, excludedClients?: string[]): Promise; getRoomMembers(room: string): Promise; } //# sourceMappingURL=NextSocket.d.ts.map