export interface UseActiveElementOptions { /** * Whether to traverse the shadow DOM to find the active element * * @defaultValue false */ deep?: boolean; } /** * A React Hook that returns the currently **active element** (via `document.activeElement`), optionally traversing the shadow DOM. * * @param {UseActiveElementOptions} options - `UseActiveElementOptions`, options to configure the hook, see {@link UseActiveElementOptions} * @returns {Element | null} `Element | null`, the currently active element, `null` if there is none, see {@link Element} */ export declare function useActiveElement(options?: UseActiveElementOptions): Element | null;