import { Ref } from 'vue'; export type ActionCallback = (key: 'up' | 'down' | 'left' | 'right' | 'escape') => void; export default function useKeyboardBindings(element: Ref, actionCallback: ActionCallback): { addKeyboardListener: () => void; removeKeyboardListener: () => void; };