import type { HotInstance } from '../../core/types'; /** * @typedef {object} FocusDetector * @property {function(): void} activate Activates the focus detector. * @property {function(): void} deactivate Deactivates the focus detector. * @property {function(): void} destroy Destroys the focus detector. */ /** * Installs a focus detector module. The module appends two input elements into the DOM side by side. * When the first input is focused, then it means that a user entered to the component using the TAB key * from the element above. When the second input is focused, a user enters to the component from * the element below the table. * * @param {Handsontable} hot The Handsontable instance. * @param {HTMLElement} wrapperElement The wrapper element to install the focus detector into. * @returns {FocusDetector} */ export declare function installFocusDetector(hot: HotInstance, wrapperElement: HTMLElement): { /** * Activates the detector by resetting the tabIndex of the input elements. */ activate(): void; /** * Deactivates the detector by setting tabIndex to -1. */ deactivate(): void; /** * Destroys the focus detector. */ destroy(): void; };