import { SWRConfiguration } from 'swr'; import { parseFeed } from 'htmlparser2'; export interface Response { data?: Data; error?: Error; isValidating: boolean; } export declare type Feed = ReturnType; /** * The React hook used for reading the Atom feed. * @param feedURL The URL of the Atom feed * @param options Options that are passed to `useSWR()` behind the scenes. * More info: https://swr.vercel.app/docs/options#options * @returns The decoded Atom feed or any errors seen along the way */ export declare function useAtomFeed(feedURL: string, options?: SWRConfiguration): Response;