/** * Returns a list of potential tabbable candidates. * We do not take into account tabindex values. * * See: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker * Credit: https://github.com/discord/focus-layers/blob/master/src/util/wrapFocus.tsx#L1 */ declare function getTabbableCandidates(container: HTMLElement, { omitLinks }?: { omitLinks?: boolean | undefined; }): HTMLElement[]; declare function focusElement(element?: HTMLElement | null, { select, preventScroll, sync }?: { select?: boolean | undefined; preventScroll?: boolean | undefined; sync?: boolean | undefined; }): void; export { getTabbableCandidates, focusElement };