/// <reference types="react" />
export declare type ElementOnScreenOptions = {
    root: null | Element;
    rootMargin: string;
    threshold: number;
};
export declare const useElementOnScreen: (options: ElementOnScreenOptions) => {
    containerRef: import("react").MutableRefObject<null>;
    isVisible: boolean;
};
