import { Events } from '../shared/utils'; import { BroadcastingService } from '../features'; export declare class WebSocketServer extends Events { private server; private clientRegistry; private sessionManager; private lifecycleManager; private messageRouter; private heartbeatManager; private channelManager; private subscriptionService; private broadcastingService; private filteringService; constructor(port?: number, pingInterval?: number); private getClientSockets; private setupMessageHandlers; private setupEventHandlers; private handleConnection; private sendError; createChannel(channelName: string): ChannelAPI; getChannels(): string[]; sendToClient(clientId: string, message: any): boolean; broadcastToChannel(channelName: string, message: any, filterCriteria?: string | string[], excludeClientId?: string): void; getClientsInChannel(channelName: string): string[]; getChannelsForClient(clientId: string): string[]; close(): void; } declare class ChannelAPI { private channelName; private broadcastingService; constructor(channelName: string, broadcastingService: BroadcastingService); broadcast(message: any, filterCriteria?: string | string[]): number; } export {};