import type { MaybeRef } from './_shared'; import type { Ref } from '@stacksjs/stx'; /** * Reactive state of whether focus is contained within the target element. * * @param target - The target element or a ref to one * @returns focused - true when focus is within the element or its descendants */ export declare function useFocusWithin(target: MaybeRef): { focused: Ref };