export default function useSectionInView(sectionName: string): (node?: Element | null | undefined) => void;