import { BaseInterface, BaseDecorator } from '../Base/types.js'; import type { Base, BaseProps } from '../Base/index.js'; export interface WithMountWhenInViewProps extends BaseProps { $options: { intersectionObserver: IntersectionObserverInit; }; } export interface WithMountWhenInViewInterface extends BaseInterface { /** * @private */ __isVisible: boolean; /** * @private */ __observer: IntersectionObserver; } /** * IntersectionObserver decoration. * @link https://js-toolkit.studiometa.dev/api/decorators/withMountWhenInView.html */ export declare function withMountWhenInView(BaseClass: typeof Base, defaultOptions?: IntersectionObserverInit): BaseDecorator;