"""TTS local (placeholder). Sustituí por Piper/Coqui/etc. sin tocar el orquestador."""

from __future__ import annotations

from voice.protocols import AudioFormat, TextToSpeech


class LocalTextToSpeech(TextToSpeech):
    provider_name = "local"

    async def synthesize(
        self,
        text: str,
        *,
        audio_format: AudioFormat | None = None,
        voice: str | None = None,
        language_code: str | None = None,
    ) -> bytes:
        raise NotImplementedError(
            "TTS local aún no implementado. "
            "Configurá TTS_PROVIDER=google o elevenlabs, o implementá "
            "LocalTextToSpeech con Piper/Coqui/similar. "
            "Usá sanitize_for_tts() antes de sintetizar."
        )
