import type { ProviderConfig } from "./types.js"; /** * Default fallback URL for cold start mitigation. * This always-on endpoint handles requests when the primary endpoint has a cold start. */ export declare const DEFAULT_FALLBACK_URL = "https://superagent.sh/api/fallback"; /** * Default timeout in milliseconds before falling back to the always-on endpoint. * If the primary endpoint doesn't respond within this time, the request is * cancelled and retried on the fallback endpoint. */ export declare const DEFAULT_FALLBACK_TIMEOUT_MS = 5000; /** * Get the fallback URL based on priority: * 1. Client option (highest priority) * 2. Environment variable SUPERAGENT_FALLBACK_URL * 3. Default constant (lowest priority) */ export declare function getFallbackUrl(clientOption?: string): string; /** * Superagent provider configuration */ export declare const superagentProvider: ProviderConfig; //# sourceMappingURL=superagent.d.ts.map