import { CategoriesConfig } from '../config/categoryConfig'; export declare function useActiveCategoryScrollDetection({ setActiveCategory, setVisibleCategories, categories, }: { setActiveCategory: (category: string) => void; setVisibleCategories: (categories: string[]) => void; /** * Effective category list. The merged array reference only changes when * the configuration is re-merged, so the observer re-subscribes exactly * when sections are added or removed — no serialization involved. */ categories: CategoriesConfig; }): void;