export declare const whenIntersect: (node: Element, callback: (entry: IntersectionObserverEntry) => void) => { destroy(): void; };