export interface IntersectionObserverMockInterface extends IntersectionObserver { target: Element | null; scrollCallback: IntersectionObserverCallback; onScroll(e: Event): void; } export declare class IntersectionObserverMock implements IntersectionObserverMockInterface { root: IntersectionObserver['root']; rootMargin: IntersectionObserver['rootMargin']; scrollMargin: IntersectionObserver['scrollMargin']; thresholds: IntersectionObserver['thresholds']; target: Element | null; disconnect: IntersectionObserver['disconnect']; observe: IntersectionObserver['observe']; takeRecords: IntersectionObserver['takeRecords']; unobserve: IntersectionObserver['unobserve']; scrollCallback: IntersectionObserverCallback; onScroll(e: Event): void; constructor(callback: IntersectionObserverCallback); } export declare function mockIntersectionObserver(): void; /** * Dispatches the custom scroll event used by the viewable directive. Used * in tandem with the IntersectionObserverMock to perform the scroll. */ export declare function dispatchCustomScroll(eventDetails?: Partial): void;