import { type MaybeRef } from './_shared'; import type { Ref } from '@stacksjs/stx'; /** * Reactive element bounding rect. * Tracks the element's position and size, updating on resize, scroll, and mutations. * * @param target - The element to observe (or a Ref to one) * @returns Reactive bounding rect properties and update function */ export declare function useElementBounding(target: MaybeRef): UseElementBoundingReturn; export declare interface UseElementBoundingReturn { x: Ref y: Ref top: Ref right: Ref bottom: Ref left: Ref width: Ref height: Ref update: () => void }