/** * Here we try to detect whether a visitor uses their keyboard to interact with the page. * * We consider it a keyboard interaction when: * * - We detect a Tab keyboard event. * - We detect an Enter keyboard event. * - We detect a Space keyboard event. * * We remove the "keyboard interaction flag" on click events. * * @throws Throws if `window` is not defined. */ export declare function addListener(): void; /** * Removes the global keyboard even listener. * * You most likely won't need this outside of testing. * * @throws Throws if `window` is not defined. */ export declare function removeListener(): void;