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