type ScrollTarget = Window | HTMLElement; export declare function scrollTo(el: ScrollTarget, position: number): void; export declare function scrollToHorizontal(scrollTarget: ScrollTarget, offset: number): void; export declare function getVerticalScrollPosition(scrollTarget: ScrollTarget): number; export declare function getHorizontalScrollPosition(scrollTarget: ScrollTarget): number; export declare function animVerticalScrollTo(el: ScrollTarget, to: number, duration?: number, startTime?: number, startPos?: number): void; export declare function animHorizontalScrollTo(element: HTMLElement, // The container element to scroll targetScrollLeft: number, // The target horizontal scroll position duration?: number): void; export {};