export interface HttpRetryOptions { /** Per-request timeout (ms). Default 60s — a stalled connection rejects instead of hanging. */ timeoutMs?: number; /** Retries on transient errors (429 / 5xx / timeout). Default 2. */ maxRetries?: number; /** Provider name for error messages, e.g. "Anthropic". */ label?: string; } export declare function postJsonWithRetry(url: string, init: { headers: Record; body: string; }, opts?: HttpRetryOptions): Promise;