;
/**
* Adds a timeout in milliseconds for the next operation
*
*
*
* io.timeout(1000).emit("some-event", (err, responses) => {
* // ...
* });
*
*
*
* @param timeout
*/
timeout(timeout: number): BroadcastOperator;
/**
* Returns the matching socket instances
*
* @public
*/
fetchSockets(): Promise[]>;
/**
* Makes the matching socket instances join the specified rooms
*
* @param room
* @public
*/
socketsJoin(room: Room | Room[]): void;
/**
* Makes the matching socket instances leave the specified rooms
*
* @param room
* @public
*/
socketsLeave(room: Room | Room[]): void;
/**
* Makes the matching socket instances disconnect
*
* @param close - whether to close the underlying connection
* @public
*/
disconnectSockets(close?: boolean): void;
}
export { Socket, ServerOptions, Namespace, BroadcastOperator, RemoteSocket };
export { Event } from "./socket";