import { RefObject } from 'react'; export declare function useIsInViewport(ref: RefObject): boolean;