/** * Check if the key pressed is among those allowed for navigation. * @param event The keyboard event to check. */ export declare function isArrowKeyPressed(event: KeyboardEvent): boolean; /** * Check if the key pressed should move the navigation to the next element. * @param event The keyboard event to check. */ export declare function isPreviousArrowKeyPressed(event: KeyboardEvent): boolean; /** * Check if the key pressed should move the navigation to the next element. * @param event The keyboard event to check. */ export declare function isNextArrowKeyPressed(event: KeyboardEvent): boolean; /** * Check if the key pressed is among those allowed for navigation. * @param event The keyboard event to check. */ export declare function isArrowKeyOrPageKeysPressed(event: KeyboardEvent): boolean; /** * Gets the index of the element to move to, based on the keyboard input, the current element in the list and the list size. * @param event The keyboard event to check. * @param current The index of the current element in the list. * @param size The size of the list. * @returns if it is a 'previous' event, returns the index of the previous element, * or the index of the last one if the current element is the first in the list; * if it is a 'next' event, returns the index of the next element, * or the index of the first one, if the current is the last in the list. */ export declare function getNextElementIndex(event: KeyboardEvent, current: number, size: number): number; //# sourceMappingURL=arrow-navigation.d.ts.map