import { SetCacheInfo, CacheMethod, RequestUse, ResponseUse, RetryCondition } from './Config'; export interface OtherOptions { requestUse: RequestUse; responseUse: ResponseUse; beforeRequest?: RequestUse; afterResponse?: ResponseUse; surplusParams?: object; abortController?: AbortController; retryCount?: number; retryCondition?: RetryCondition; cacheMethod?: CacheMethod; setCacheInfo?: SetCacheInfo; cacheNamespace?: string; } export default function interceptor(url: any, options: any, otherOptions: OtherOptions): any;