import { collectProviderApiKeysForExecution, executeWithApiKeyRotation, isRotatableAuthFailure } from "../../media-shared/http/api-key-rotation.js";
import { ProviderHttpError, assertOkOrThrowHttpError, assertOkOrThrowProviderError, createProviderHttpError, extractProviderErrorDetail, extractProviderRequestId } from "../../media-shared/http/provider-http-errors.js";
import { SsrfBlockedError, assertSafeUrl, isPrivateIpAddress } from "../../media-shared/http/ssrf-guard.js";
import { createProviderOperationDeadline, fetchWithTimeoutGuarded, getJsonRequest, normalizeBaseUrl, postJsonRequest, postMultipartRequest, waitProviderOperationPollInterval } from "../../media-shared/http/provider-http.js";
import "../../media-shared/http/index.js";
import { createOpenAiCompatibleSpeechProvider } from "../../voice/tts/openai-compatible-speech.js";
import { canonicalizeSpeechProviderId, getSpeechProvider, listSpeechProviders, registerSpeechProvider } from "../../voice/tts/speech-registry.js";
export { ProviderHttpError, SsrfBlockedError, assertOkOrThrowHttpError, assertOkOrThrowProviderError, assertSafeUrl, canonicalizeSpeechProviderId, collectProviderApiKeysForExecution, createOpenAiCompatibleSpeechProvider, createProviderHttpError, createProviderOperationDeadline, executeWithApiKeyRotation, extractProviderErrorDetail, extractProviderRequestId, fetchWithTimeoutGuarded, getJsonRequest, getSpeechProvider, isPrivateIpAddress, isRotatableAuthFailure, listSpeechProviders, normalizeBaseUrl, postJsonRequest, postMultipartRequest, registerSpeechProvider, waitProviderOperationPollInterval };
