import { AxiosRequestConfig } from 'axios'; export interface HttpClient { get: (...args: any[]) => Promise; post?: (...args: any[]) => Promise; } export interface HttpInterceptorObject { url: string; config: AxiosRequestConfig; } export interface HttpInterceptor { httpRequestInterceptor: HttpRequestInterceptor; } export type HttpRequestInterceptor = (url: any, config: any) => Promise;