import type { KeyboardEvent as ReactKeyboardEvent } from 'react'; export declare enum KeyCodes { Enter = 13, Escape = 27, Tab = 9, F10 = 121, P = 80 } export declare function isKey(keyCode: number, e: KeyboardEvent | ReactKeyboardEvent, allowAlt?: boolean, allowCtrl?: boolean, allowShift?: boolean): boolean; export declare function getFocusableChildren(elem: HTMLElement, ignoreTabIndex?: boolean): HTMLElement[]; export declare function isElementFocusable(elem: HTMLElement, ignoreTabIndex?: boolean): boolean; export declare function getFirstFocusableChild(elem: HTMLElement, ignoreTabIndex?: boolean): HTMLElement | undefined; export declare function getFocusableDescendants(elem: HTMLElement, ignoreTabIndex?: boolean): HTMLElement[]; export declare function isElementFocusableChildOf(elem: HTMLElement, ancestor: HTMLElement): boolean; //# sourceMappingURL=CanvasA11y.d.ts.map