@mastra/voice-deepgram 0.0.0-llamaindex-switch-core-20250424001624 → 0.0.0-main-test-05-11-2025-2-20251105214713

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,50 +0,0 @@
1
- import { MastraVoice } from '@mastra/core/voice';
2
-
3
- /**
4
- * List of available Deepgram models for text-to-speech and speech-to-text
5
- */
6
- export declare const DEEPGRAM_MODELS: readonly ["aura", "whisper", "base", "enhanced", "nova", "nova-2", "nova-3"];
7
-
8
- /**
9
- * List of available Deepgram voice models for text-to-speech
10
- * Each voice is designed for specific use cases and languages
11
- * Format: {name}-{language} (e.g. asteria-en)
12
- */
13
- export declare const DEEPGRAM_VOICES: readonly ["asteria-en", "luna-en", "stella-en", "athena-en", "hera-en", "orion-en", "arcas-en", "perseus-en", "angus-en", "orpheus-en", "helios-en", "zeus-en"];
14
-
15
- declare type DeepgramModel = (typeof DEEPGRAM_MODELS)[number];
16
- export { DeepgramModel }
17
- export { DeepgramModel as DeepgramModel_alias_1 }
18
-
19
- export declare class DeepgramVoice extends MastraVoice {
20
- private speechClient?;
21
- private listeningClient?;
22
- constructor({ speechModel, listeningModel, speaker, }?: {
23
- speechModel?: DeepgramVoiceConfig;
24
- listeningModel?: DeepgramVoiceConfig;
25
- speaker?: DeepgramVoiceId;
26
- });
27
- getSpeakers(): Promise<{
28
- voiceId: "asteria-en" | "luna-en" | "stella-en" | "athena-en" | "hera-en" | "orion-en" | "arcas-en" | "perseus-en" | "angus-en" | "orpheus-en" | "helios-en" | "zeus-en";
29
- }[]>;
30
- speak(input: string | NodeJS.ReadableStream, options?: {
31
- speaker?: string;
32
- [key: string]: any;
33
- }): Promise<NodeJS.ReadableStream>;
34
- listen(audioStream: NodeJS.ReadableStream, options?: {
35
- [key: string]: any;
36
- }): Promise<string>;
37
- }
38
-
39
- export declare interface DeepgramVoiceConfig {
40
- name?: DeepgramModel;
41
- apiKey?: string;
42
- properties?: Record<string, any>;
43
- language?: string;
44
- }
45
-
46
- declare type DeepgramVoiceId = (typeof DEEPGRAM_VOICES)[number];
47
- export { DeepgramVoiceId }
48
- export { DeepgramVoiceId as DeepgramVoiceId_alias_1 }
49
-
50
- export { }
package/dist/index.d.cts DELETED
@@ -1,4 +0,0 @@
1
- export { DeepgramVoice } from './_tsup-dts-rollup.cjs';
2
- export { DeepgramVoiceConfig } from './_tsup-dts-rollup.cjs';
3
- export { DeepgramVoiceId } from './_tsup-dts-rollup.cjs';
4
- export { DeepgramModel } from './_tsup-dts-rollup.cjs';