/// <reference types="react" />
type UseVisibilityObserverProps = {
    root: HTMLElement | null;
    targetRef: React.RefObject<HTMLElement> | React.MutableRefObject<HTMLElement | undefined>;
    threshold?: number;
};
export declare function useVisibilityObserver({ root, targetRef, threshold }: UseVisibilityObserverProps): {
    isVisible: boolean;
};
export {};
