import { BaseContract } from '@ethersproject/contracts'; import { SWRResponse } from './useLidoSWR'; import { FilterAsyncMethods, UnpackedPromise } from './types'; import { SWRConfiguration } from 'swr'; export declare const useContractSWR: , R extends UnpackedPromise>, F extends boolean>(props: { contract: C; method: M; shouldFetch?: F | undefined; params?: (F extends false ? unknown[] : Parameters) | undefined; config?: Partial>> | undefined; }) => SWRResponse;