import React from 'react'; import { KeyCombo, KeyListenerOptions } from './useKeyListener'; export declare type KeyListenerProps = KeyCombo & KeyListenerOptions & { listener: (e: KeyboardEvent) => void; children?: React.ReactNode | ((label: string) => React.ReactNode); }; export declare const KeyListener: ({ keyName, shiftKey, altKey, ctrlKey, metaKey, modKey, listener, event, target, passive, capture, children }: KeyListenerProps) => any; export default KeyListener;