/** * Copied from chakra-ui, license MIT * Accessed 2021-12-26, commit July 25th, 2021 * See also: https://github.com/chakra-ui/chakra-ui/blob/69b7ef1/packages/utils/src/tabbable.ts */ export declare const hasDisplayNone: (element: HTMLElement) => boolean; export declare const hasTabIndex: (element: HTMLElement) => boolean; export declare const hasNegativeTabIndex: (element: HTMLElement) => boolean; export declare function isDisabled(element: HTMLElement): boolean; export interface FocusableElement { focus(options?: FocusOptions): void; } export declare function isInputElement(element: FocusableElement): element is HTMLInputElement; export declare function isActiveElement(element: FocusableElement): boolean; export declare function hasFocusWithin(element: HTMLElement): boolean; export declare function isHidden(element: HTMLElement): boolean; export declare function isContentEditable(element: HTMLElement): boolean; export declare function isFocusable(element: HTMLElement): boolean; export declare function isTabbable(element?: HTMLElement | null): boolean;