import { AxiosRequestConfig, AxiosInstance, AxiosResponse } from 'axios'; export interface FxAxiosConfig extends AxiosRequestConfig { noLoadingUrls?: string[]; arrayBufferUrls?: string[]; formDataUrls?: string[]; hideErrorMessageCodes?: string[]; reloginCodes?: string[]; removeRepeatedUrl?: boolean; serverConfig?: Record; axiosConfig?: any[]; headerConfig?: Map>; } export declare class FxAxios { service: AxiosInstance; constructor(axiosConfig?: FxAxiosConfig); handleRequestConfig(config: AxiosRequestConfig): void; handleTokenExpired(_: AxiosResponse, axiosConfig: FxAxiosConfig): void; handleAuthFailed(_: AxiosResponse, axiosConfig: FxAxiosConfig): void; } declare const getFxAxios: (config: { serverConfig: Record | undefined; arrayBufferUrls: string[]; noLoadingUrls: string[]; formDataUrls: string[]; hideErrorMessageCodes?: string[]; reloginCodes?: string[]; headerConfig?: Map>; }) => AxiosInstance; export { getFxAxios };