import 'reflect-metadata'; /** * @LeaveRoom decorator * Automatically leaves a room when the handler is executed * * @param room - The room name to leave * * @example * ```typescript * @OnMessage('leave_chat') * @LeaveRoom('chat_room') * async handleLeaveChat(socket: Socket, data: any) { * // socket has already left 'chat_room' * } * ``` */ export declare function LeaveRoom(room: string | ((data: any) => string)): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; //# sourceMappingURL=LeaveRoom.d.ts.map