import { ConfigInterface, fetcherFn, keyInterface, mutateInterface, responseInterface, triggerInterface } from './types'; declare const trigger: triggerInterface; declare const mutate: mutateInterface; declare function useSWR(key: keyInterface): responseInterface; declare function useSWR(key: keyInterface, config?: ConfigInterface): responseInterface; declare function useSWR(key: keyInterface, fn?: fetcherFn, config?: ConfigInterface): responseInterface; declare const SWRConfig: import("react").ProviderExoticComponent>>>; export { trigger, mutate, SWRConfig }; export default useSWR;