import type { ClaudeProxyModelTier, FallbackEntry, ParsedClaudeRequest, ProxyTranslationPlan } from "../types/index.js";
export declare function inferClaudeProxyModelTier(modelName: string): ClaudeProxyModelTier;
/**
 * Build a translation plan for a Claude-compatible proxy request.
 * The plan lists the primary provider followed by eligible fallback targets.
 * All configured fallback entries are always eligible — no contract-based gating.
 * When no fallback chain is configured, an "auto-provider" entry is appended.
 */
export declare function buildProxyTranslationPlan(primary: {
    provider: string;
    model?: string;
}, fallbackChain: FallbackEntry[], requestedModel: string, _parsed: ParsedClaudeRequest): ProxyTranslationPlan;
/**
 * Parse the retry-after header from an upstream 429 response.
 * Returns milliseconds to wait, or 0 if no valid header present.
 */
export declare function parseRetryAfterMs(retryAfterHeader: string | null): number;
