import { l as normalizeOptionalString } from "../string-coerce-DJnd-JG-.js"; import { $l as SpeechSynthesisStreamResult, Bl as SpeechListVoicesRequest, Gl as SpeechProviderOverrides, Hl as SpeechProviderConfig, Il as TTS_AUTO_MODES, Jl as SpeechProviderResolveConfigContext, Jn as SpeechProviderPlugin, Kl as SpeechProviderPrepareSynthesisContext, Ll as normalizeTtsAutoMode, Ql as SpeechSynthesisStreamRequest, Rl as SpeechDirectiveTokenParseContext, Ul as SpeechProviderConfiguredContext, Vl as SpeechModelOverridePolicy, Xl as SpeechProviderResolveTalkOverridesContext, Yl as SpeechProviderResolveTalkConfigContext, Zl as SpeechSynthesisRequest, eu as SpeechSynthesisTarget, iu as TtsDirectiveParseResult, nu as SpeechVoiceOption, ql as SpeechProviderPreparedSynthesis, ru as TtsDirectiveOverrides, tu as SpeechTelephonySynthesisRequest, zl as SpeechDirectiveTokenParseResult } from "../types-DaHgOqFX.js"; import { t as asBoolean } from "../boolean-CThIQsGO.js"; import { s as asFiniteNumber } from "../number-coercion-C7PMvT3i.js"; import { a as createProviderHttpError, c as formatProviderErrorPayload, g as truncateErrorDetail, h as readResponseTextLimited, l as formatProviderHttpErrorMessage, o as extractProviderErrorDetail, r as assertOkOrThrowProviderError, s as extractProviderRequestId, t as asObject } from "../provider-http-errors-CYg0W8L9.js"; import { a as normalizeSpeechProviderId, c as normalizeLanguageCode, d as scheduleCleanup, i as listSpeechProviders, l as normalizeSeed, n as getSpeechProvider, o as parseTtsDirectives, s as normalizeApplyTextNormalization, t as canonicalizeSpeechProviderId, u as requireInRange } from "../provider-registry-C8LJvcPX.js"; import { a as createOpenAiCompatibleSpeechProvider, i as OpenAiCompatibleSpeechProviderOptions, n as OpenAiCompatibleSpeechProviderConfig, r as OpenAiCompatibleSpeechProviderExtraJsonBodyField, t as OpenAiCompatibleSpeechProviderBaseUrlPolicy } from "../speech-CnW9XCBj.js"; export { type OpenAiCompatibleSpeechProviderBaseUrlPolicy, type OpenAiCompatibleSpeechProviderConfig, type OpenAiCompatibleSpeechProviderExtraJsonBodyField, type OpenAiCompatibleSpeechProviderOptions, type SpeechDirectiveTokenParseContext, type SpeechDirectiveTokenParseResult, type SpeechListVoicesRequest, type SpeechModelOverridePolicy, type SpeechProviderConfig, type SpeechProviderConfiguredContext, type SpeechProviderOverrides, type SpeechProviderPlugin, type SpeechProviderPrepareSynthesisContext, type SpeechProviderPreparedSynthesis, type SpeechProviderResolveConfigContext, type SpeechProviderResolveTalkConfigContext, type SpeechProviderResolveTalkOverridesContext, type SpeechSynthesisRequest, type SpeechSynthesisStreamRequest, type SpeechSynthesisStreamResult, type SpeechSynthesisTarget, type SpeechTelephonySynthesisRequest, type SpeechVoiceOption, TTS_AUTO_MODES, type TtsDirectiveOverrides, type TtsDirectiveParseResult, asBoolean, asFiniteNumber, asObject, assertOkOrThrowProviderError, canonicalizeSpeechProviderId, createOpenAiCompatibleSpeechProvider, createProviderHttpError, extractProviderErrorDetail, extractProviderRequestId, formatProviderErrorPayload, formatProviderHttpErrorMessage, getSpeechProvider, listSpeechProviders, normalizeApplyTextNormalization, normalizeLanguageCode, normalizeSeed, normalizeSpeechProviderId, normalizeTtsAutoMode, parseTtsDirectives, readResponseTextLimited, requireInRange, scheduleCleanup, normalizeOptionalString as trimToUndefined, truncateErrorDetail };