import { r as fetchWithTimeout } from "../fetch-timeout-C7PtlYtO.js";
import { i as resolveProviderRequestPolicy, n as resolveProviderEndpoint, r as resolveProviderRequestCapabilities } from "../provider-attribution-BBIYhBdH.js";
import { c as resolveProviderRequestHeaders, o as normalizeBaseUrl, u as sanitizeConfiguredModelProviderRequest } from "../provider-request-config-CZvTASZT.js";
import { a as assertProviderBinaryResponseContent, c as extractProviderRequestId, d as readProviderBinaryResponse, f as readProviderJsonArrayFieldResponse, g as truncateErrorDetail, h as readResponseTextLimited, i as assertOkOrThrowProviderError, l as formatProviderErrorPayload, m as readProviderJsonResponse, o as createProviderHttpError, p as readProviderJsonObjectResponse, r as assertOkOrThrowHttpError, s as extractProviderErrorDetail, u as formatProviderHttpErrorMessage } from "../provider-http-errors-BydAWT1D.js";
import { n as providerOperationRetryConfig, t as executeProviderOperationWithRetry } from "../operation-retry-DV2sUBW9.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-CJhj6Vsw.js";
import "../provider-http-CY00ZDgL.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 };
