import { AxiosAdapter, AxiosPromise } from 'axios'; export interface ICacheLike { get(key: string): T | undefined; set(key: string, value: T, maxAge?: number): boolean; del(key: string): void; } export declare type Options = { enabledByDefault?: boolean; cacheFlag?: string; defaultCache?: ICacheLike; }; export default function cacheAdapterEnhancer(adapter: AxiosAdapter, options?: Options): AxiosAdapter;