/**
 * @fileoverview Core interface definition for speech service providers.
 * Provides the contract for Text-to-Speech (TTS) and Speech-to-Text (STT) operations.
 * @module src/services/speech/core/ISpeechProvider
 */
/**
 * Type guard — returns `true` if the provider supports text-to-speech synthesis.
 *
 * @param provider - Any `ISpeechProvider` instance.
 * @returns `true` when `provider.supportsTTS` is set, narrowing the type for callers.
 *
 * @example
 * if (supportsTTS(provider)) {
 *   const result = await provider.textToSpeech({ text: 'Hello' });
 * }
 */
export function supportsTTS(provider) {
    return provider.supportsTTS;
}
/**
 * Type guard — returns `true` if the provider supports speech-to-text transcription.
 *
 * @param provider - Any `ISpeechProvider` instance.
 * @returns `true` when `provider.supportsSTT` is set, narrowing the type for callers.
 *
 * @example
 * if (supportsSTT(provider)) {
 *   const result = await provider.speechToText({ audio: buffer });
 * }
 */
export function supportsSTT(provider) {
    return provider.supportsSTT;
}
//# sourceMappingURL=ISpeechProvider.js.map