/** Movement (in px) a pointer must travel before a press becomes a drag. */
export declare const DRAG_START_THRESHOLD_PX = 6;
/** Distance from a scroll-container edge (px) at which auto-scroll engages. */
export declare const AUTO_SCROLL_EDGE_PX = 56;
/** Maximum auto-scroll step (px per frame) at the very edge. */
export declare const AUTO_SCROLL_MAX_STEP_PX = 18;
export declare function clamp(value: number, min: number, max: number): number;
/**
 * Auto-scroll step for a pointer near the [start, end] edges of a scroll
 * container along one axis. Negative scrolls toward `start`, positive toward
 * `end`, 0 when the pointer is comfortably inside. The step ramps from 0 at the
 * edge band boundary to `maxStepPx` at the edge.
 */
export declare function getAutoScrollStep(pointerPosition: number, start: number, end: number, edgePx?: number, maxStepPx?: number): number;
/**
 * Walk up from the element under (clientX, clientY) to the nearest vertically
 * scrollable ancestor, optionally constrained to within `boundary`. Returns null
 * when there is none (so callers can fall back to a different scroller).
 */
export declare function getScrollableAncestorFromPoint(clientX: number, clientY: number, boundary: HTMLElement | null): HTMLElement | null;
