export declare function retryOnError<T>(delegate: () => T | Promise<T>, { retries }?: {
    retries?: number;
}): Promise<T>;
