type SpeechStatus = "started" | "stopped"; interface TextToSpeechOptions { /** Enable mic-based interruption detection while TTS is playing. Only activates if mic permission is already granted. */ enableInterrupt?: boolean; /** Called with the captured speech audio (16kHz Float32Array) after the user interrupts and finishes speaking. */ onInterrupted?: (audio: Float32Array) => void; } export declare function useTextToSpeech(text: string, options?: TextToSpeechOptions): { speechStatus: SpeechStatus; start: () => Promise; stop: () => void; }; export {};