import 'reflect-metadata'; /** * @JoinRoom decorator * Automatically joins the socket to a room when the handler is executed * * @param room - The room name to join (can be a string or a function that returns the room name) * * @example * ```typescript * @OnMessage('join_chat') * @JoinRoom('chat_room') * async handleJoinChat(socket: Socket, data: any) { * // socket has already joined 'chat_room' * } * ``` */ export declare function JoinRoom(room: string | ((data: any) => string)): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; //# sourceMappingURL=JoinRoom.d.ts.map