/** * Checks on an interval to see if the element is scrolling. * When the scrolling has finished it then calls the function. * * @param el The element that scrolls. * @param fn The function to call after scrolling completes. * @return A function to cancel the scroll listener. */ export declare function onScrollEnd(el: HTMLElement, fn: (offet: number) => void): () => void;