/**
 * Creates a new regular scroll listener
 *
 * @param {HTMLElement} observeElement
 * @param {Function} whenNext
 * @returns IntersectionObserver
 */
export declare function createScroller(observeElement: HTMLElement, whenNext: () => Promise<void>, reverse?: boolean): IntersectionObserver;
/**
 * Creates a new reverse scroll listener
 *
 * @param {HTMLElement} observeElement
 * @param {Function} whenNext
 * @returns IntersectionObserver
 */
export declare function createReverseScroller(observeElement: HTMLElement, whenNext: () => Promise<void>): IntersectionObserver;
//# sourceMappingURL=infinte-scroll.d.ts.map