voicebot-react-native-expo
Version:
This is a voicebot-react-native package of Kipps AI voice bot for React Native Expo
10 lines • 546 B
TypeScript
import { Participant } from 'livekit-client';
/**
* This function `useTrackByName` allows you to access a track by referencing its track name.
* Inside the function, it ensures that the a valid `participant` reference is available by checking
* for both a passed participant argument and, if not available, a valid participant context.
*
* @public
*/
export declare function useTrackByName(name: string, participant?: Participant): import('@livekit/components-core').TrackReferenceOrPlaceholder;
//# sourceMappingURL=useTrackByName.d.ts.map