import { PropsWithChildren } from 'react'; type ScrollSpyContext = { activeItem: string | null; observeNewSelector: (selector: string) => void; }; declare const ScrollSpyContext: import('react').Context; export declare const useScrollSpy: () => ScrollSpyContext; export declare const ScrollSpy: ({ root, rootMargin, threshold, children, }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element; export {};