import { ConnectionState, CreateStreamOptions, StreamEvents, StreamingManagerOptions } from '../../types'; import { createStreamingLogger, StreamingManager } from './common'; type DataChannelPayload = string | Record; export declare function mapConnectionState(state: RTCIceConnectionState): ConnectionState; export declare const createParseDataChannelMessage: (log: ReturnType) => (message: string) => { subject: StreamEvents; data: DataChannelPayload; }; export declare function createWebRTCStreamingManager(agentId: string, streamOptions: T, { debug, callbacks, auth, baseURL, analytics }: StreamingManagerOptions, signal?: AbortSignal): Promise>; export type WebRTCStreamingManager = StreamingManager; export {};