declare type ScrollType = "default" | "negative" | "reverse"; /** * Based on the jquery plugin https://github.com/othree/jquery.rtl-scroll-type * * Types of scrollLeft, assuming scrollWidth=100 and direction is rtl. * * Type | <- Most Left | Most Right -> | Initial * ---------------- | ------------ | ------------- | ------- * default | 0 | 100 | 100 * negative (spec*) | -100 | 0 | 0 * reverse | 100 | 0 | 0 * * Edge 85: default * Safari 14: negative * Chrome 85: negative * Firefox 81: negative * IE11: reverse * * Spec: https://drafts.csswg.org/cssom-view/#dom-window-scroll */ export declare const detectScrollType: () => ScrollType; export declare const getNormalizedScrollLeft: (element: T, direction: "rtl" | "ltr") => number; export {};