export type Direction = 'up' | 'down' | 'left' | 'right'; interface UseSwipeProps { isActive: boolean; handleSwipe: (ev: TouchEvent, direction: Direction) => void; } export declare function useSwipe({ isActive, handleSwipe }: UseSwipeProps): { ref: import("react").RefObject; currentDirection: Direction | null; }; export {};