import { a as ProxyErrorType, i as ProxyError } from "./types-CfIx-Sbs.js"; //#region src/services/proxy/errorClassifier.d.ts /** * Classify an error from upstream response */ declare function classifyError(statusCode: number, body?: unknown, error?: Error): ProxyError; /** * Check if error indicates the key should be rotated */ declare function shouldRotateKey(error: ProxyError): boolean; /** * Check if error is retryable */ declare function isRetryable(error: ProxyError): boolean; /** * Get error type from status code (quick check) */ declare function getErrorTypeFromStatus(statusCode: number): ProxyErrorType; //#endregion export { shouldRotateKey as i, getErrorTypeFromStatus as n, isRetryable as r, classifyError as t };