import { HttpException } from '@nestjs/common'; import { AxiosError, InternalAxiosRequestConfig } from 'axios'; export declare type IMessage = string | unknown; export declare type IType = 'log' | 'warn' | 'error' | 'errorAndThrow'; export interface IHandlingParams { type: string; code: string; message: string; statusCode?: number; reason?: string; resolve?: string; } export declare type IError = string | Error | AxiosError | HttpException | Record; export interface IAxiosException { message?: string; code?: string; config?: InternalAxiosRequestConfig; request?: any; response?: any; }