/** * Find out which edge to align against when logical scroll position is "nearest" * Interesting fact: "nearest" works similarily to "if-needed", if the element is fully visible it will not scroll it * * Legends: * ┌────────┐ ┏ ━ ━ ━ ┓ * │ target │ frame * └────────┘ ┗ ━ ━ ━ ┛ */ export declare function alignNearest(scrollingEdgeStart: number, scrollingEdgeEnd: number, scrollingSize: number, scrollingBorderStart: number, scrollingBorderEnd: number, elementEdgeStart: number, elementEdgeEnd: number, elementSize: number): number; //# sourceMappingURL=align-nearest.d.ts.map