/** * retry — exponential backoff with jitter and total budget cap. * * Learned from vally's RetryHelper: the total budget cap prevents * retry chains from blowing CI job timeouts even when individual retries * would succeed within their own delay. */ import type { RetryOptions } from "./types.js"; /** * Execute an async function with exponential backoff + budget. * * @throws The last error if all retries are exhausted or budget expires. */ export declare function withRetry(fn: (attempt: number) => Promise, options?: RetryOptions): Promise; //# sourceMappingURL=retry.d.ts.map