import { RefObject } from 'react';
import { InputKey, Key } from '../../components/KeyboardShortcut';
declare class TempEvent {
    constructor(target: EventTarget | Element, ev: KeyboardEvent);
    pageX: number;
    pageY: number;
    which: string;
    current: EventTarget | Element;
    currentTarget: EventTarget | Element;
    keyboardEvent: KeyboardEvent;
    preventDefault(): void;
    stopPropagation(): void;
}
export declare const useKeyUp: (handler: (event: TempEvent) => void, keys?: InputKey[], ref?: RefObject<Element>) => void;
export declare const useKeyDown: (handler: (event: TempEvent) => void, keys?: InputKey[], ref?: RefObject<Element>) => void;
export declare const useKeyboardShortcut: (key: Key, handler: (event: TempEvent) => void, ref?: RefObject<Element>, event?: 'keyUp' | 'keyDown') => void;
export {};
