import type { HttpService } from "@nestjs/axios"; import type { OnModuleInit } from "@nestjs/common"; import type { AxiosError, AxiosResponse, InternalAxiosRequestConfig } from "axios"; import { AxiosErrorCustomConfig } from "./interfaces/axios-error-custom-config"; import { AxiosFulfilledInterceptor } from "./interfaces/axios-fulfilled-interceptor"; import { AxiosRejectedInterceptor } from "./interfaces/axios-rejected-interceptor"; import { AxiosResponseCustomConfig } from "./interfaces/axios-response-custom-config"; export declare abstract class AxiosInterceptor, TAxiosError extends AxiosError = AxiosErrorCustomConfig> implements OnModuleInit { protected readonly httpService: HttpService; constructor(httpService: HttpService); onModuleInit(): void; private registerInterceptors; protected requestFulfilled(): AxiosFulfilledInterceptor; protected requestRejected(): AxiosRejectedInterceptor; protected responseFulfilled(): AxiosFulfilledInterceptor; protected responseRejected(): AxiosRejectedInterceptor; protected isAxiosError(err: any): err is TAxiosError; }