voicebot-react-native-expo
Version:
This is a voicebot-react-native package of Kipps AI voice bot for React Native Expo
18 lines • 596 B
TypeScript
import { TrackReferenceOrPlaceholder } from '@livekit/components-core';
import { Participant } from 'livekit-client';
/** @public */
export interface UseIsMutedOptions {
participant?: Participant;
}
/**
* The `useIsMuted` hook is used to implement the `TrackMutedIndicator` or your custom implementation of it.
* It returns a `boolean` that indicates if the track is muted or not.
*
* @example
* ```tsx
* const isMuted = useIsMuted(track);
* ```
* @public
*/
export declare function useIsMuted(trackRef: TrackReferenceOrPlaceholder): boolean;
//# sourceMappingURL=useIsMuted.d.ts.map