import { RefObject } from 'react'; /** * A React hook that provides a function to trap focus within an element, * so that the user only can cycle between focusable elements within that container. * * The attribute `elvisFocusInitial` can be set on a focusable item in the * container, to define the initial focused element. * * @returns A function that traps the focus within the provided element, and a function that releases the focus trap. * */ export declare const useFocusTrap: () => { trapFocus: (focusTrapContainer: RefObject) => void; releaseFocusTrap: () => void; };