import { AnyFunction } from '@codeleap/types'; import { QueryManagerOptions } from '@codeleap/query'; type useQueryListRefresh = (listQuery: Parameters['useListEffect']>[0], options?: { staleTime?: number; initialStale?: boolean; refreshQueryEnabled?: boolean; onFocus?: AnyFunction; onBlur?: AnyFunction; }) => void; /** * Uses `useFocusEffect` (not `useEffect`) so the refetch/stale timer is tied to React Navigation screen focus — a background tab never triggers an unnecessary network request. The stale window starts on blur and is cleared on the next focus, meaning a very fast back-and-forward (faster than `staleTime`) will not refetch. */ export declare const useQueryListRefresh: useQueryListRefresh; export {}; //# sourceMappingURL=useQueryListRefresh.d.ts.map