import type { UseQueryOptions, UseQueryReturns } from "../use-query/index.cjs"; import type { AnyFunc } from "../utils/basic.cjs"; export interface UseRequestOptions>, E = any> extends UseQueryOptions { } export interface UseRequestReturns>, E = any> extends UseQueryReturns { } /** * * A hook that helps you manage the request status, including loading, refreshing, initializing, error, etc. * * @since 1.4.0 * * @deprecated deprecated since `1.5.0`, use `useQuery` instead * */ export declare function useRequest>, E = any>(fetcher: T, options?: UseQueryOptions): UseRequestReturns;