export declare function useGlobalHotkey(onKey: (event: KeyboardEvent) => void, enabled?: boolean): void;