interface ScrollToOptions { animation?: boolean; /** Scroll container, default as window */ getContainer?: () => HTMLElement | Window; /** Scroll end callback */ callback?: () => any; /** Animation duration, default as 450 */ duration?: number; } export declare function getOffsetTop(elem: HTMLElement | null): number; export declare function scrollTo(top: number, options: ScrollToOptions): void; export {};