/** * Given a `root` container element and a `target` that is outside of that * container and intended to receive focus, force the DOM focus to wrap around * such that it remains within `root`. * * If `forceFirst` is set to `true`, the wrap will always attempt to focus the * first viable element in `root`, rather than wrapping to the end. */ export default function wrapFocus(root: HTMLElement, target: Element, forceFirst?: boolean): void;