import { BaseConnection, type SessionConfig, type FormatConfig } from "./BaseConnection"; import { type OutgoingSocketEvent } from "./events"; import { Room } from "livekit-client"; export type ConnectionConfig = SessionConfig & { onDebug?: (info: unknown) => void; }; export declare class WebRTCConnection extends BaseConnection { conversationId: string; readonly inputFormat: FormatConfig; readonly outputFormat: FormatConfig; private room; private isConnected; private constructor(); static create(config: ConnectionConfig): Promise; private setupRoomEventListeners; close(): void; sendMessage(message: OutgoingSocketEvent): Promise; getRoom(): Room; }