import type { RefObject } from "react"; /** Whether the element is on screen; true until an observer reports otherwise, and always true where IntersectionObserver is missing. */ export declare const useInViewport: (ref: RefObject, enabled?: boolean) => boolean;