/** * Hook that checks if an element is visible in the viewport. * @returns * ref: React ref object to attach to the element you want to monitor. * inViewport: Boolean indicating if the element is in the viewport. */ export declare function useInViewport(): { ref: (node: T | null) => void; inViewport: boolean; };