import { ClientConfig, LogService } from '@joktec/core'; import { HttpMethod } from '@joktec/utils'; import { AxiosBasicCredentials, AxiosProxyConfig } from 'axios'; import { IAxiosRetryConfig } from 'axios-retry'; import { IHttpRetryConfig } from './models'; export declare class HttpRetryConfig implements IHttpRetryConfig { retries?: number; shouldResetTimeout?: boolean; retryDelay?: number; httpMethodsToRetry?: HttpMethod[]; statusCodesToRetry?: number[][]; constructor(props?: Partial); } declare class BasicCredentials implements AxiosBasicCredentials { username: string; password: string; constructor(props: BasicCredentials); } export declare class HttpProxyConfig implements AxiosProxyConfig { host: string; port: number; auth?: BasicCredentials; protocol?: string; keepAlive?: boolean; timeout?: number; maxSockets?: number; constructor(props: HttpProxyConfig); } export declare class HttpConfig extends ClientConfig { url?: string; method?: HttpMethod; baseURL?: string; timeout?: number; timeoutErrorMessage?: string; auth?: BasicCredentials; maxRedirects?: number; headers?: Record; params?: Record; curlirize?: boolean; retryConfig?: HttpRetryConfig; proxy?: HttpProxyConfig; constructor(props: HttpConfig); getRetryConfig(log: LogService): IAxiosRetryConfig; } export {}; //# sourceMappingURL=http.config.d.ts.map