import { AxiosInstance } from 'axios'; declare const patchedSym: unique symbol; declare module 'axios' { interface AxiosInstance { [patchedSym]?: boolean; } interface AxiosRequestConfig { topmostError?: Error; } interface AxiosError { originalStack?: string; } } declare const axiosBetterStacktrace: (axiosInstance?: AxiosInstance | undefined, opts?: { errorMsg?: string | undefined; }) => (() => void) | undefined; export default axiosBetterStacktrace;