import type { AxiosError, InternalAxiosRequestConfig, AxiosInstance } from 'axios'; interface AxiosConfig { baseURL?: string; timeout?: number; headers?: { [key: string]: string | number; }; requestHandler?: (config: InternalAxiosRequestConfig) => void; responseHandler?: (response: AxiosError) => void; responseErrorHandler?: (error: AxiosError) => void; requestErrorHandler?: (error: AxiosError) => void; } export declare const CancelToken: import("axios").CancelTokenStatic; declare function createAxios(config?: AxiosConfig): AxiosInstance; export default createAxios;