import type { RetryOptions } from '../types.js'; /** * Creates a retry policy that re-executes the wrapped operation on failure * using the configured backoff strategy. * * @example * ```ts * const result = await retry({ maxAttempts: 5, backoff: 'exponential' })( * () => callApi(), * ); * ``` */ export declare function retry(options?: RetryOptions): (fn: () => Promise) => Promise; //# sourceMappingURL=retry.d.ts.map