import type { TTSGenerateOptions, TTSLoadOptions } from './specs/TTS.nitro'; export declare const TTS: { load(modelId: string, options?: TTSLoadOptions): Promise; generate(text: string, options?: TTSGenerateOptions): Promise; stream(text: string, onAudioChunk: (audio: ArrayBuffer) => void, options?: TTSGenerateOptions): Promise; stop(): void; unload(): void; readonly isLoaded: boolean; readonly isGenerating: boolean; readonly modelId: string; readonly sampleRate: number; }; //# sourceMappingURL=tts.d.ts.map