/** Touch movement before a press is read as a swipe or a scroll (carousel.tsx, useSwipeDismiss.ts). */ export declare const LOCK_DISTANCE = 10; /** Mouse movement before a press becomes a drag. */ export declare const MOUSE_DRAG_DISTANCE = 4; /** Hold before a touch picks something up (VirtualList's `longPressDelay`). */ export declare const LONG_PRESS_MS = 400; /** A touch this soon after a scroll is stopping momentum, not picking something up. */ export declare const RECENT_SCROLL_MS = 150; /** Share of the width a swipe must travel to page (carousel.tsx). */ export declare const COMMIT_RATIO = 0.2; /** px/ms a shorter flick must reach to page anyway (useSwipeDismiss.ts). */ export declare const COMMIT_VELOCITY = 0.5; /** How far back the flick velocity is measured. */ export declare const VELOCITY_WINDOW_MS = 100; /** Distance from a scroller's edge where a drag starts scrolling it (useRowDrag.ts). */ export declare const EDGE_ZONE = 48; /** px per frame at the very edge. */ export declare const EDGE_SPEED = 18; /** How long after a gesture the click it ends in is swallowed (useRowDrag.ts). */ export declare const CLICK_SUPPRESS_MS = 350; /** `1` to page forwards, `-1` back, `0` to return. A swipe to the left reveals the next period. */ export declare function pageStep(dx: number, width: number, velocity: number): -1 | 0 | 1; /** Scroll speed for a pointer at `y` in a scroller spanning `top` to `bottom`: negative scrolls up. */ export declare function edgeSpeed(y: number, top: number, bottom: number): number; export declare function snap(minutes: number, step: number): number; export declare function clamp(value: number, min: number, max: number): number; export interface VelocitySample { time: number; x: number; } /** px/ms over the samples of the last `VELOCITY_WINDOW_MS`. */ export declare function velocityOf(samples: readonly VelocitySample[], now: number): number;