import type { ApiInterface } from '../types/api';
import type { TtsGenerateResult, TtsInitResult, TtsModelConfig, TtsOptions } from '../types/interfaces';
/**
 * Service for Text-to-Speech functionality
 */
export declare class TtsService {
    private initialized;
    private sampleRate;
    private numSpeakers;
    private api;
    constructor(api: ApiInterface);
    /**
     * Initialize the TTS engine
     * @param config The TTS model configuration
     * @returns Promise resolving to initialization result
     */
    initialize(config: TtsModelConfig): Promise<TtsInitResult>;
    /**
     * Get the initialized status
     */
    isInitialized(): boolean;
    /**
     * Get the sample rate
     */
    getSampleRate(): number;
    /**
     * Get the number of available speakers
     */
    getNumSpeakers(): number;
    /**
     * Generate speech from text
     * @param text Text to synthesize
     * @param options Options for speech generation
     * @returns Promise resolving with generation result
     */
    generateSpeech(text: string, options?: TtsOptions): Promise<TtsGenerateResult>;
    /**
     * Stop ongoing speech generation
     */
    stopSpeech(): Promise<{
        stopped: boolean;
        message?: string;
    }>;
    /**
     * Release TTS resources
     */
    release(): Promise<{
        released: boolean;
    }>;
}
//# sourceMappingURL=TtsService.d.ts.map