export interface IntersectionObserverConfig { threshold: number; onIntersectionChange: (isIntersecting: boolean) => void; rootMargin?: string; } /** * Create an intersection observer with proper fallback for SSR */ export declare const setupIntersectionObserver: (element: HTMLElement, config: IntersectionObserverConfig) => IntersectionObserver | null; /** * Create an intersection observer for multiple elements with individual callbacks */ export declare const setupMultipleIntersectionObserver: (elements: Array<{ element: HTMLElement; callback: (isIntersecting: boolean) => void; }>, config: Omit) => IntersectionObserver | null;