import type { UseQueryResult } from '@tanstack/react-query'; import { type EffectCallback } from 'react'; /** * Tanstack useQueries hook always returns * a new array as it's return value when it is called. * See https://github.com/TanStack/query/discussions/5123 * This means that if you want to write an effect * around the return value it will always * re-run. As a stop gap, this hook will * only execute when the statuses - * (query.status / query.fetchState) for * any of the queries changes. */ export declare const useReactQueryEffect: (effect: EffectCallback, deps?: UseQueryResult[][]) => void; //# sourceMappingURL=useReactQueryEffect.d.ts.map