import { RefObject } from 'react'; export declare const useVisibleOnScreen: (ref: RefObject, setShowElement?: (val: boolean) => void) => void;