import { AxiosInstance, AxiosResponse } from 'axios'; export interface HttpRequestInterface { get, D = any>(url: string): Promise; post, D = any>(url: string): Promise; patch, D = any>(url: string): Promise; put, D = any>(url: string): Promise; delete, D = any>(url: string): Promise; } export interface IAxiosCreate { baseURL?: string; timeout?: number; headers?: NonNullable>; } export interface IAxiosLogger { env?: string; dataDogTracer?: any; logger?: any; } export interface IHttpRequestCaptureAxiosDefault { env?: string; dataDogTracer?: any; axios: AxiosInstance; }