import { RefObject } from 'react'; import { Key } from '../utils'; interface KeyDownListenerOptions { readonly preventDefault?: boolean | undefined; readonly stopPropagation?: boolean | undefined; } declare function useKeyDownListener(ref: RefObject, cbs: Partial void)>>, options?: KeyDownListenerOptions): void; export { useKeyDownListener }; export type { KeyDownListenerOptions };