import { c as normalizeOptionalString } from "../../string-coerce-Bje8XVt9.js";
import { t as asFiniteNumber } from "../../number-coercion-BmB9yxv6.js";
import { a as createProviderHttpError, c as formatProviderErrorPayload, d as truncateErrorDetail, i as assertOkOrThrowProviderError, l as formatProviderHttpErrorMessage, n as asObject, o as extractProviderErrorDetail, s as extractProviderRequestId, t as asBoolean, u as readResponseTextLimited } from "../../provider-http-errors-DMCQAkIm.js";
import { i as normalizeSpeechProviderId, n as getSpeechProvider, r as listSpeechProviders, t as canonicalizeSpeechProviderId } from "../../provider-registry-C9vZCraG.js";
import { n as parseTtsDirectives } from "../../directives-Q31M_Y1V.js";
import { n as normalizeTtsAutoMode, t as TTS_AUTO_MODES } from "../../tts-auto-mode-CxW9Xuey.js";
import { n as resolveEffectiveTtsConfig } from "../../tts-config-DmfJcjRy.js";
import { a as scheduleCleanup, i as requireInRange, n as normalizeLanguageCode, r as normalizeSeed, t as normalizeApplyTextNormalization } from "../../tts-provider-helpers-BQrmbLAA.js";
import { t as summarizeText } from "../../speech-core-B19FubP1.js";
import "../../api-DDwXYyzw.js";
export { TTS_AUTO_MODES, asBoolean, asFiniteNumber, asObject, assertOkOrThrowProviderError, canonicalizeSpeechProviderId, createProviderHttpError, extractProviderErrorDetail, extractProviderRequestId, formatProviderErrorPayload, formatProviderHttpErrorMessage, getSpeechProvider, listSpeechProviders, normalizeApplyTextNormalization, normalizeLanguageCode, normalizeSeed, normalizeSpeechProviderId, normalizeTtsAutoMode, parseTtsDirectives, readResponseTextLimited, requireInRange, resolveEffectiveTtsConfig, scheduleCleanup, summarizeText, normalizeOptionalString as trimToUndefined, truncateErrorDetail };
