import type { Attachment } from 'svelte/attachments'; export declare function createIntersectionAttachment(trigger: (entry: IntersectionObserverEntry) => boolean, options?: IntersectionObserverInit): { (callback: Attachment): Attachment; (node: T, callback: Attachment): () => void; }; export declare function enterView(callback: Attachment): Attachment; export declare function enterView(node: T, callback: Attachment): () => void; export declare function leaveView(callback: Attachment): Attachment; export declare function leaveView(node: T, callback: Attachment): () => void;