/** * Browser-side WebRTC transport for `blit share`. * * Connects to the signaling hub as a consumer, performs the SDP/ICE exchange * with the producer (blit-webrtc-forwarder), and wraps the resulting * RTCPeerConnection data channel in a BlitTransport via * createWebRtcDataChannelTransport. */ import { type BlitDebug, type BlitTransport } from "../types"; /** * Create a BlitTransport that connects to a shared session via WebRTC. * * The transport handles all signaling internally: hub WebSocket connection, * Ed25519-signed message exchange, SDP offer/answer, and ICE candidate relay. * * Supports reconnection: calling `connect()` when the transport is in a * `"disconnected"` or `"error"` state tears down old resources and re-runs * the full signaling + WebRTC handshake. */ export declare function createShareTransport(hubWsUrl: string, passphrase: string, debug?: BlitDebug): BlitTransport; //# sourceMappingURL=webrtc-share.d.ts.map