/**
 * @deprecated Use useQuery from @tanstack/react-query directly instead
 */
export declare function useLightQuery<T>(key: string, fetchFn: () => Promise<T>, options?: {
    staleTime?: number;
    enabled?: boolean;
}): {
    data: import("@tanstack/query-core/build/legacy/hydration-Cr-4Kky1").F<T>;
    error: Error;
    status: "success" | "error" | "pending";
    refetch: (options?: import("@tanstack/query-core/build/legacy/hydration-Cr-4Kky1").aq) => Promise<import("@tanstack/query-core/build/legacy/hydration-Cr-4Kky1").aH<import("@tanstack/query-core/build/legacy/hydration-Cr-4Kky1").F<T>, Error>>;
    isLoading: boolean;
    isSuccess: boolean;
    isError: boolean;
};
