import { r as fetchWithTimeout } from "../fetch-timeout-CaGF7RKJ.js";
import { i as resolveProviderRequestPolicy, n as resolveProviderEndpoint, r as resolveProviderRequestCapabilities } from "../provider-attribution-BJTYrqsT.js";
import { a as normalizeBaseUrl, l as sanitizeConfiguredModelProviderRequest, s as resolveProviderRequestHeaders } from "../provider-request-config-C1iRJl93.js";
import { a as createProviderHttpError, c as formatProviderErrorPayload, d as readProviderJsonArrayFieldResponse, f as readProviderJsonObjectResponse, h as truncateErrorDetail, i as assertProviderBinaryResponseContent, l as formatProviderHttpErrorMessage, m as readResponseTextLimited, n as assertOkOrThrowHttpError, o as extractProviderErrorDetail, p as readProviderJsonResponse, r as assertOkOrThrowProviderError, s as extractProviderRequestId, u as readProviderBinaryResponse } from "../provider-http-errors-B-4ePZb-.js";
import { n as providerOperationRetryConfig, t as executeProviderOperationWithRetry } from "../operation-retry-hxYgZf1G.js";
import { a as fetchProviderOperationResponse, c as postJsonRequest, d as requireTranscriptionText, f as resolveAudioTranscriptionUploadFileName, h as waitProviderOperationPollInterval, i as fetchProviderDownloadResponse, l as postMultipartRequest, m as resolveProviderOperationTimeoutMs, n as createProviderOperationDeadline, o as fetchWithTimeoutGuarded, p as resolveProviderHttpRequestConfig, r as createProviderOperationTimeoutResolver, s as pollProviderOperationJson, t as buildAudioTranscriptionFormData, u as postTranscriptionRequest } from "../shared-CxpgWZfA.js";
import "../provider-http-BMg8yvY2.js";
export { assertOkOrThrowHttpError, assertOkOrThrowProviderError, assertProviderBinaryResponseContent, buildAudioTranscriptionFormData, createProviderHttpError, createProviderOperationDeadline, createProviderOperationTimeoutResolver, executeProviderOperationWithRetry, extractProviderErrorDetail, extractProviderRequestId, fetchProviderDownloadResponse, fetchProviderOperationResponse, fetchWithTimeout, fetchWithTimeoutGuarded, formatProviderErrorPayload, formatProviderHttpErrorMessage, normalizeBaseUrl, pollProviderOperationJson, postJsonRequest, postMultipartRequest, postTranscriptionRequest, providerOperationRetryConfig, readProviderBinaryResponse, readProviderJsonArrayFieldResponse, readProviderJsonObjectResponse, readProviderJsonResponse, readResponseTextLimited, requireTranscriptionText, resolveAudioTranscriptionUploadFileName, resolveProviderEndpoint, resolveProviderHttpRequestConfig, resolveProviderOperationTimeoutMs, resolveProviderRequestCapabilities, resolveProviderRequestHeaders, resolveProviderRequestPolicy, sanitizeConfiguredModelProviderRequest, truncateErrorDetail, waitProviderOperationPollInterval };
