export interface FetchState { data: T | null; error: any; loading: boolean; refetch: (init?: RequestInit) => Promise; } interface FetchOptions { key?: string; immediate?: boolean; } /** * A hook that wraps the fetch API with state management, abort control, and optional caching. * @param input The URL or Request object to fetch * @param init Optional fetch init options * @param opts Additional options for controlling the fetch behavior * @returns FetchState object containing data, error, loading state, and refetch function */ export declare function useFetch(input: string | Request, init?: RequestInit, opts?: FetchOptions): FetchState; export {};