/** * Documentation * A list of focusable HTML elements */ export declare const FOCUSABLE_ELEMENTS = "a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex=\"0\"]"; /** * Documentation * An object with developer-friendly names for key-codes */ export declare const keyCodes: { TAB: number; ENTER: number; SHIFT: number; CTRL: number; ESC: number; LEFT_ARROW: number; UP_ARROW: number; RIGHT_ARROW: number; DOWN_ARROW: number; SPACE: number; }; /** * Documentation * @param {Function} fn The callback method to execute after the debounce * @param {number} delay The time to wait after the action to call the callback method */ export declare const debounce: (fn: Function, delay: number) => (...args: any[]) => void;