import { BaseCommandProcessor } from './BaseCommandProcessor'; import { Client, IMessage } from '../Client'; export interface RoomCommandRequest { roomId?: string; } export interface RoomCommandResponse { type: 'ROOM_JOIN' | 'ROOM_EXIT' | 'ROOM_INFO'; success: boolean; data: any; } export declare class RoomJoinCommandProcessor extends BaseCommandProcessor { /** 是否将用户进入房间消息广播给其他用户 */ static BROADCAST_TO_OTHER_IN_ROOM: boolean; tester: string; onMessage(client: Client, msg: RoomCommandRequest, evt: IMessage): Promise; } export declare class RoomExitCommandProcessor extends BaseCommandProcessor { /** 是否将用户进入房间消息广播给其他用户 */ static BROADCAST_TO_OTHER_IN_ROOM: boolean; tester: string; onMessage(client: Client, msg: RoomCommandRequest, evt: IMessage): Promise; } export declare class RoomInfoCommandProcessor extends BaseCommandProcessor { tester: string; onMessage(client: Client, msg: RoomCommandRequest, evt: IMessage): Promise; }