export interface UseFetchOptions extends RequestInit { autoInvoke?: boolean; } export interface UseFetchReturnValue { data: T | null; loading: boolean; error: Error | null; refetch: () => Promise; abort: () => void; } export declare function useFetch(url: string, { autoInvoke, ...options }?: UseFetchOptions): UseFetchReturnValue;