import { RefObject } from 'react'; export declare const useIsOnScreen: (ref: RefObject) => boolean;