import { BasicEvent } from "@skeldjs/events"; import { Connection, Room } from "../../../worker"; /** * Emitted when a client leaves the room that they're in, i.e. by disconnecting. */ export declare class ClientLeaveEvent extends BasicEvent { /** * The client that left the room. */ readonly client: Connection; /** * The room that the client left. */ readonly room: Room; static eventName: "client.leave"; eventName: "client.leave"; constructor( /** * The client that left the room. */ client: Connection, /** * The room that the client left. */ room: Room); }