/** * Centralized 429/rate-limit error detection. * Checks error message for common rate-limit indicators across LLM providers. */ export declare function isRateLimitError(err: unknown): boolean; /** * Wraps an async function with exponential backoff retry on 429 errors. */ export declare function withRetry(fn: () => Promise, opts?: { maxRetries?: number; baseDelayMs?: number; onRetry?: (attempt: number, delayMs: number) => void; }): Promise; //# sourceMappingURL=retry.d.ts.map