import React from 'react'; declare type FetchProviderProps = { url?: string; options?: { [key: string]: any; }; previewData?: any; children: React.ReactNode; }; declare type FetchContext = { loading: boolean; error?: string; data?: T; }; export declare const FetchProvider: React.FC; export declare const useFetch: () => FetchContext; export {};