UNPKG

@elevenlabs/react-native

Version:

ElevenLabs React Native SDK for Conversational AI

13 lines (12 loc) 535 B
import type { LocalParticipant } from "livekit-client"; import type { ConversationStatus, Callbacks } from "../types"; export declare const useLiveKitRoom: (callbacksRef: { current: Callbacks; }, setStatus: (status: ConversationStatus) => void, conversationId: string) => { roomConnected: boolean; localParticipant: LocalParticipant | null; handleParticipantReady: (participant: LocalParticipant) => void; handleConnected: () => void; handleDisconnected: () => void; handleError: (error: Error) => void; };