/**
* useKeyPress
* @param {string} key - the name of the key to respond to, compared against event.key
* @param {function} action - the action to perform on key press
*/declareconstuseKeyPress: (key: string, action: () => void) =>void;
exportdefault useKeyPress;