import type { BaseDecorator, BaseInterface } from '../Base/types.js'; import type { Base, BaseProps } from '../Base/index.js'; export interface WithIntersectionObserverProps extends BaseProps { $options: { intersectionObserver: IntersectionObserverInit; }; $observer: IntersectionObserver; intersected(entries: IntersectionObserverEntry[]): void; } export interface WithIntersectionObserverInterface extends BaseInterface { $observer: IntersectionObserver; } /** * IntersectionObserver decoration. * @link https://js-toolkit.studiometa.dev/api/decorators/withIntersectionObserver.html */ export declare function withIntersectionObserver(BaseClass: typeof Base, defaultOptions?: IntersectionObserverInit): BaseDecorator;