import 'intersection-observer';
import { BasicTarget } from '../utils/getTargetElement';
interface Options {
    rootMargin?: string;
    threshold?: number | number[];
    root?: BasicTarget<Element>;
}
declare function useInViewport(target: BasicTarget, options?: Options): readonly [boolean | undefined];
export default useInViewport;
