/** * useFetch Hook * Generic data fetching with loading and error states (API service) */ import type { DependencyList } from 'react'; import type { UseFetchOptions } from './types'; export declare const useFetch: (fetcher: () => Promise, dependencies?: DependencyList, options?: UseFetchOptions) => { data: T; isLoading: boolean; error: Error; refetch: () => Promise; }; export declare const useLazyFetch: (fetcher: () => Promise, options?: UseFetchOptions) => { data: T; isLoading: boolean; error: Error; fetch: () => Promise; }; export type { UseFetchOptions } from './types'; //# sourceMappingURL=useFetch.d.ts.map