import { type MaybeRef } from './_shared'; import type { Ref } from '@stacksjs/stx'; /** * Reactive element visibility. * Uses IntersectionObserver to track whether the target element is visible in the viewport. * * @param target - The element to observe (or a Ref to one) * @returns A ref that is true when the element is visible */ export declare function useElementVisibility(target: MaybeRef): Ref;