import type { SnapPoint } from "./types"; /** * Resolve all snap points to sorted pixel heights (ascending). * Returns an array of heights in px that the drawer should snap to. */ export declare const resolveSnapPoints: (points: SnapPoint[], viewportHeight: number) => number[]; /** * Given the current drag offset (from fully open), resolved snap heights, * the panel height, and release velocity, find the best snap point index. * * `dragOffset` is positive in the dismiss direction (downward for bottom sheets). * Snap heights are "how tall the drawer should be" (ascending order). * * Returns -1 if the gesture indicates full dismissal. */ export declare const findSnapTarget: (dragOffset: number, panelHeight: number, snapHeights: number[], velocity: number, currentIndex: number, sequential: boolean) => number; /** * Get the Y offset for a snap point relative to fully open (0 offset). * Returns the number of pixels the drawer should be translated down from fully open. */ export declare const getSnapOffset: (snapIndex: number, snapHeights: number[], panelHeight: number) => number; //# sourceMappingURL=snap-points.d.ts.map