import { Key, Fetcher, MutatorCallback } from 'swr/dist/types'; export declare type SWRResponse = { data?: Data; error?: Error; mutate: (data?: Data | Promise | MutatorCallback, shouldRevalidate?: boolean) => Promise; update: () => Promise; loading: boolean; initialLoading: boolean; }; export declare const useLidoSWR: (key: Key | null, fetcher: Fetcher | null, config?: Partial>> | undefined) => SWRResponse;