import { RefObject } from 'react';
interface UseTapNavigationProps {
    onNext: () => void;
    onPrevious: () => void;
    containerRef: RefObject<HTMLElement>;
    /**
     * Whether tap-zones are divided horizontally or vertically.
     */
    axis?: 'horizontal' | 'vertical';
    disabled?: boolean;
}
/**
 * A hook that enables tap-based navigation on a container element.
 *
 * Horizontal mode: tap left side → previous, tap right side → next.
 * Vertical mode: tap top half → previous, tap bottom half → next.
 * Taps on interactive elements (buttons, links, [role="button"], [data-no-nav]) are always ignored.
 *
 * On touch devices we capture the position at touchstart (before any finger
 * drift that can corrupt the synthetic click coordinates) and confirm the
 * intent on touchend (only if movement is below the tap threshold).
 * Mouse clicks fall through via a normal click listener.
 */
declare const useTapNavigation: ({ onNext, onPrevious, containerRef, axis, disabled, }: UseTapNavigationProps) => void;
export default useTapNavigation;
