import * as i0 from '@angular/core'; import { ElementRef, OnDestroy, OnChanges, AfterViewInit, EventEmitter, NgZone, SimpleChanges } from '@angular/core'; type ContainerRef = Window | ElementRef | any; interface IInfiniteScrollEvent { currentScrollPosition: number; } interface IPositionElements { windowElement: ContainerRef; axis: any; } interface IPositionStats { height: number; scrolled: number; totalToScroll: number; isWindow?: boolean; } interface IResolver { container: ContainerRef; isWindow: boolean; axis: any; } declare class InfiniteScrollDirective implements OnDestroy, OnChanges, AfterViewInit { private element; private zone; scrolled: EventEmitter; scrolledUp: EventEmitter; infiniteScrollDistance: number; infiniteScrollUpDistance: number; infiniteScrollThrottle: number; infiniteScrollDisabled: boolean; infiniteScrollContainer: any; scrollWindow: boolean; immediateCheck: boolean; horizontal: boolean; alwaysCallback: boolean; fromRoot: boolean; private disposeScroller?; constructor(element: ElementRef, zone: NgZone); ngAfterViewInit(): void; ngOnChanges({ infiniteScrollContainer, infiniteScrollDisabled, infiniteScrollDistance, }: SimpleChanges): void; ngOnDestroy(): void; private setup; private handleOnScroll; private destroyScroller; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * @deprecated Import InfiniteScrollDirective instead */ declare class InfiniteScrollModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { InfiniteScrollDirective, InfiniteScrollModule }; export type { ContainerRef, IInfiniteScrollEvent, IPositionElements, IPositionStats, IResolver };