import { IContextProviderCollection } from "@omnia/fx-models"; import { AxiosRequestConfig, AxiosInstance, AxiosPromise, AxiosResponse } from "axios"; export interface RetryableHttpAction { (currentAxInstance: AxiosInstance): AxiosPromise; } export interface IHttpRetryPlugIn { checkResponse: (currentConfig: AxiosRequestConfig, responseToCeck: AxiosResponse) => Promise; } export declare class HttpRetryPlugIn { private static plugin; static registerRetryPlugin: (plugin: IHttpRetryPlugIn) => void; static executeHttpRequest: (ax: AxiosInstance, cfg: AxiosRequestConfig, requestCreator: RetryableHttpAction) => AxiosPromise; } export declare class HttpContextConfigPlugin { private static _Instance; static get instance(): IContextProviderCollection; static registerContextProviders: (contextProviders: IContextProviderCollection) => void; }