import { ElementRef, EventEmitter, OnDestroy, AfterViewInit, OnInit } from '@angular/core'; /** * A simple lightweight library for Angular with that detects when an * element is within the browsers viewport and adds a `in-viewport` or * `not-in-viewport` class to the element. * * @example * ```html *

* Amet tempor excepteur occaecat nulla. *

* ``` */ export declare class InViewportDirective implements AfterViewInit, OnDestroy, OnInit { private el; private window; private inViewport; private hasIntersectionObserver; inViewportOptions: IntersectionObserverInit; inViewportChange: EventEmitter; observer: IntersectionObserver; readonly isInViewport: boolean; readonly isNotInViewport: boolean; constructor(el: ElementRef, window: Window); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; intersectionObserverCallback(entries: IntersectionObserverEntry[]): void; private intersectionObserverFeatureDetection; }