type FetchResult = { data: T | null; isLoading: boolean; error: Error | null; }; declare function useFetch(url: string, options?: RequestInit): FetchResult; export default useFetch;