import { Transport, TransportListeners, TransportOptions } from "./types.js"; //#region src/transport/ws.d.ts /** * Open a WebSocket transport. Resolves once the underlying socket * fires `open` (i.e. the upgrade succeeded + the subprotocol matches * `SUBPROTOCOL_NAME`); rejects with a typed * {@link TransportFailedError} / {@link SubprotocolMismatchError} / * {@link AuthFailedError} otherwise. * * @stable */ declare function openWebSocketTransport(options: TransportOptions, listeners: TransportListeners): Promise; //#endregion export { openWebSocketTransport }; //# sourceMappingURL=ws.d.ts.map