interface ScrollSpySection { id: string; title?: string; level?: number; } interface UseScrollSpyReturn { activeSection: string; handleSectionClick: (sectionId: string) => void; } /** * Shared scroll spy hook for tracking active section based on scroll position. * Used by DocViewer for sticky section navigation. */ export declare function useScrollSpy(sections: ScrollSpySection[] | undefined): UseScrollSpyReturn; export {}; //# sourceMappingURL=use-scroll-spy.d.ts.map