import { SWRResponse } from 'swr'; import { EthSWRConfigInterface } from './types'; export declare type etherKeyFuncInterface = () => ethKeyInterface | ethKeysInterface; export declare type ethKeyInterface = [string, any?, any?, any?, any?]; export declare type ethKeysInterface = any[][]; declare function useEtherSWR(key: ethKeyInterface | ethKeysInterface | etherKeyFuncInterface): SWRResponse; declare function useEtherSWR(key: ethKeyInterface | ethKeysInterface | etherKeyFuncInterface, config?: EthSWRConfigInterface): SWRResponse; declare function useEtherSWR(key: ethKeyInterface | ethKeysInterface | etherKeyFuncInterface, fetcher?: any, //fetcherFn, config?: EthSWRConfigInterface): SWRResponse; declare const EthSWRConfig: import("react").Provider>; declare const EtherSWRConfig: import("react").Provider>; export { EthSWRConfig, EtherSWRConfig }; export default useEtherSWR;