/** * Takes an array of element IDs and returns the one that is currently in view. * * Useful for highlighting nav items based on scroll position. * * @example * ``` * const activeId = useScrollspy( * ['introduction', 'gallery', 'properties', 'specification', 'siteplan', 'location'], * 300 * ); * ``` */ export default function useScrollspy(ids: string[], offset?: number): string; //# sourceMappingURL=use-scrollspy.d.ts.map