import { Dispatch, SetStateAction } from 'react'; export declare const useOffScreen: (ref: React.MutableRefObject) => [boolean, Dispatch>];