export declare function useIsVisible({ root, rootMargin, threshold, once, }: {
    root?: Element | Document | null;
    rootMargin?: string;
    threshold?: number;
    once?: boolean;
}): {
    setRef: (node: any) => void;
    inView: boolean;
};
