/** * ConnectionController — manages call lifecycle (connect, disconnect, mic, audio session). * * Lit Reactive Controller equivalent of useRinggCall from React Native. */ import type { ReactiveController, ReactiveControllerHost } from "lit"; import type { RealtimeRoomAdapter, ConnectionState, MediaType, SlashCommand } from "@ringg/core"; import { RinggApiClient, WidgetStateController } from "@ringg/core"; export declare class ConnectionController implements ReactiveController { host: ReactiveControllerHost; private adapter; private api; private widgetState; private roomServerUrl; private agentId; private variables; private cleanupFns; connectionState: ConnectionState; isLoading: boolean; callMode: MediaType; callId: string | null; isMicEnabled: boolean; error: string | null; runtimeSlashCommands: SlashCommand[]; private _endCallHandled; constructor(host: ReactiveControllerHost, opts: { adapter: RealtimeRoomAdapter; api: RinggApiClient; widgetState: WidgetStateController; roomServerUrl: string; agentId: string; variables: Record; defaultTab?: MediaType; }); hostConnected(): void; hostDisconnected(): void; get isConnected(): boolean; startCall(mediaType: MediaType): Promise; endCall(): Promise; toggleMic(): Promise; clearError(): void; private _handleEndCall; } //# sourceMappingURL=connection.controller.d.ts.map