Rewrite frontend as single self-contained HTML file — all CSS/JS inline, no external files to fail loading
This commit is contained in:
17
dist/providers/tts/openAITTSProvider.d.ts
vendored
Normal file
17
dist/providers/tts/openAITTSProvider.d.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { TTSProvider, TTSProviderConfig, TTSOptions, TTSResult } from '../../interfaces';
|
||||
/**
|
||||
* OpenAI TTS Provider Implementation
|
||||
*/
|
||||
export declare class OpenAITTSProvider implements TTSProvider {
|
||||
private config;
|
||||
private openai;
|
||||
constructor(config: TTSProviderConfig);
|
||||
/**
|
||||
* Convert text to speech
|
||||
* @param text - Text to convert to speech
|
||||
* @param outputPath - Output path for the audio file
|
||||
* @param options - Additional options
|
||||
* @returns Duration of the generated audio in seconds and cost
|
||||
*/
|
||||
textToSpeech(text: string, outputPath: string, options?: TTSOptions): Promise<TTSResult>;
|
||||
}
|
||||
Reference in New Issue
Block a user