import type { AxiosError } from 'axios'; import BaseError from './BaseError'; interface TimeoutErrorConstructorOptions { message?: string; } declare class TimeoutError extends BaseError { constructor(cause: AxiosError, { message }?: TimeoutErrorConstructorOptions); } export default TimeoutError;