from abc import ABC, abstractmethod class STTProvider(ABC): @abstractmethod async def transcribe(self, audio_bytes: bytes, fmt: str, language: str | None = None) -> str: ...