import { Observable } from "rxjs";
import { AjaxResponse } from "rxjs/ajax";
/**
 *
 * Retries failed HTTP requests.
 *
 * @param delayMs delay in milliseconds before the request is retried.
 * @param maxRetries maximum number of retries.
 * @param retryOnErrorStatus HTTP error status codes for which the request is retried.
 * @param logError if true, error is written to the console error log.
 *
 * @category Internal
 */
export declare function retryOnError(delayMs: number, maxRetries: number, retryOnErrorStatus: number[], logError: boolean): (src: Observable<AjaxResponse>) => Observable<AjaxResponse>;
