interface UseQueryOptions {
    enabled?: boolean;
}
interface UseQueryResult<T> {
    data: T | null;
    isLoading: boolean;
    error: unknown;
}
declare const useFetchQuery: <T>(queryFn: () => Promise<T>, { enabled }?: UseQueryOptions) => UseQueryResult<T>;
export default useFetchQuery;
//# sourceMappingURL=useFetchQuery.d.ts.map