/** * Crawls up the DOM tree (using `el.closest`) to find the closest focusable element. * Returns the element itself if it is focusable. * If no focusable element is found, it returns the body element. * * This is useful for ensuring that focus is returned to a valid element * after an event, such as a click or key press. */ export declare const getClosestFocusableElement: (el: HTMLElement) => HTMLElement; //# sourceMappingURL=getClosestFocusableElement.d.ts.map