export type SwipeDirection = 'left' | 'right' | 'up' | 'down'; interface SwipeInfo { dx: number; dy: number; } interface SwipeEndInfo extends SwipeInfo { direction: SwipeDirection | null; duration: number; } interface Props { children?: import('svelte').Snippet; class?: string; threshold?: number; velocityThreshold?: number; disabled?: boolean; preventScroll?: boolean; 'aria-label'?: string; onSwipe?: (direction: SwipeDirection) => void; onSwipeStart?: (e: PointerEvent) => void; onSwipeMove?: (info: SwipeInfo) => void; onSwipeEnd?: (info: SwipeEndInfo) => void; onSwipeLeft?: () => void; onSwipeRight?: () => void; onSwipeUp?: () => void; onSwipeDown?: () => void; } declare const Swipeable: import("svelte").Component; type Swipeable = ReturnType; export default Swipeable;