/**
 * useHasIntersected.
 * Use this custom hook to detect when an element has became visible inside the viewport. This hook checks only if the intersection happend.
 * Once the intersection has happened the hook will not return false even if the element gets out of the viewport.
 *
 * @param {object} params
 * @param {object} [params.elRef] - node object that contains a react reference to the element that needs to be observed.
 * @param {string} [params.loading = 'eager'] - string that contains the type of loading.
 * @param elRef.loading
 * @usage `const [hasIntersected] = useHasIntersected({imageRef,loading});`
 */
export declare const useHasIntersected: ({ elRef, loading, }: {
    elRef: React.RefObject<HTMLElement>;
    loading?: "eager" | "lazy";
}) => boolean[];
//# sourceMappingURL=useHasIntersected.d.ts.map