export interface ISwrOptions { swrMode?: boolean; cacheTime?: number; forceClear?: boolean; dataSourceName?: string; methodName?: string; } export declare const DEFAULT_CACHE_TIME = 20000; export declare const CACHE_METHOD: string[]; export declare const CACHE_FILTER_METHOD: string[]; export declare const judgeToClearCache: (params: any) => void; declare const swr: (params: any, fetcher: (params: any) => Promise, options?: ISwrOptions, swrKey?: string) => Promise; export default swr;