interface TouchGuardTarget { enable: () => void; disable: () => void; } /** * Disable a Draggable while the user is scrolling the page vertically, so a * vertical swipe over the slider scrolls the page instead of dragging the * track. Shared by both slider engines (horizontalLoop + finiteTrack). * * When a drag is suppressed for vertical scroll, `onStaticRelease` is invoked * on touchend: disabling Draggable mid-press strips its own pointerup listener, * so its `onRelease` never fires, and the caller's static-press path (e.g. * restart autoplay) would otherwise never run. Returns a cleanup function. */ export declare function attachTouchScrollGuard(trigger: HTMLElement, draggable: TouchGuardTarget, onStaticRelease: () => void): () => void; export {}; //# sourceMappingURL=touch-guard.d.ts.map