export declare const useKey: (key: string, onHit: (e: KeyboardEvent) => void, active?: boolean) => void;