import type { INetworkTransport } from './engine_networking_types.js'; /** Default transport that wraps the `websocket-ts` library */ export declare class WebsocketTransport implements INetworkTransport { private _url; private _ws; onOpen: (() => void) | null; onClose: (() => void) | null; onError: ((err: any) => void) | null; onMessage: ((data: string | Blob) => void) | null; get url(): string; constructor(url: string); start(): Promise; send(data: string | Uint8Array): void; close(): void; }