/** * Options for the WebSocket server */ export interface WebSocketServerOptions { /** * WebSocket server port * * @default {@link DefaultWebSocketServerPort} */ port?: number; } /** * Callback to close the WebSocket server */ export type CloseWebSocketServer = () => Promise; /** * Start the WebSocket server. Manages the first message sent by the client and the client pool ({@link connections}). * * @throws {Error} If the WebSocket server fails to start within 3 seconds. */ export declare const startWebSocketServer: ({ port, }: WebSocketServerOptions) => Promise; //# sourceMappingURL=websocket-server.d.ts.map