import { QueryClient } from '@tanstack/react-query';

interface PrefetchIntentHandlers {
    onPointerEnter: () => void;
    onPointerLeave: () => void;
    onFocus: () => void;
    onTouchStart: () => void;
}
declare function usePrefetchOnIntent(key: string, prefetch: (queryClient: QueryClient) => void): PrefetchIntentHandlers;

export { type PrefetchIntentHandlers, usePrefetchOnIntent };
