export interface HMSIntersectionObserverCallback { (entry: IntersectionObserverEntry): void; } /** * This is a wrapper around IntersectionObserver which will call the callback passed * for an element while observing, only when that element is intersecting */ export declare class HMSIntersectionObserverWrapper { private intersectionObserver?; private readonly TAG; private listeners; constructor(); isSupported(): boolean; observe: (element: HTMLElement, onIntersection: HMSIntersectionObserverCallback) => void; unobserve: (element: HTMLElement) => void; private createObserver; private handleIntersection; } export declare const HMSIntersectionObserver: HMSIntersectionObserverWrapper;