react-native-deepgram
Version:
React Native SDK for Deepgram's AI-powered speech-to-text, real-time transcription, and text intelligence APIs. Supports live audio streaming, file transcription, sentiment analysis, and topic detection for iOS and Android.
32 lines (30 loc) • 1.25 kB
text/typescript
export { useDeepgramSpeechToText } from './useDeepgramSpeechToText';
export { useDeepgramTextIntelligence } from './useDeepgramTextIntelligence';
export { useDeepgramManagement } from './useDeepgramManagement';
export { useDeepgramTextToSpeech } from './useDeepgramTextToSpeech';
export { useDeepgramVoiceAgent } from './useDeepgramVoiceAgent';
export { Deepgram } from './NativeDeepgram';
export type {
DeepgramTextToSpeechModel,
DeepgramTextToSpeechEncoding,
DeepgramTextToSpeechHttpEncoding,
DeepgramTextToSpeechStreamEncoding,
DeepgramTextToSpeechSampleRate,
DeepgramTextToSpeechCallbackMethod,
DeepgramTextToSpeechContainer,
DeepgramTextToSpeechBitRate,
DeepgramTextToSpeechHttpOptions,
DeepgramTextToSpeechStreamOptions,
DeepgramTextToSpeechStreamInputMessage,
DeepgramTextToSpeechStreamMetadataMessage,
DeepgramTextToSpeechStreamFlushedMessage,
DeepgramTextToSpeechStreamClearedMessage,
DeepgramTextToSpeechStreamWarningMessage,
DeepgramTextToSpeechStreamResponseMessage,
UseDeepgramTextToSpeechOptions,
UseDeepgramTextToSpeechProps,
UseDeepgramTextToSpeechReturn,
} from './types';
export const configure = (opts: { apiKey: string }) => {
(globalThis as any).__DEEPGRAM_API_KEY__ = opts.apiKey;
};