/** @tossdocs-ignore */ interface RetryOptions { retries: number; shouldRetry?: (error: Error) => boolean; onError?: (error: Error) => void | Promise; } export declare function retryRequestsOf(task: (...args: Arguments) => Result | Promise, { retries, shouldRetry, onError }: RetryOptions): (...args: Arguments) => Promise; export {};