export type ObservedElementsRef = { selector: string; ratio: number; }; export declare const useScrollObserver: ({ root, rootMargin, threshold, }: IntersectionObserverInit) => { activeItem: string | null; observeNewSelector: (selector: string) => void; };