matrix-react-sdk
Version:
SDK for matrix.org using React
13 lines (12 loc) • 647 B
TypeScript
import { KeyCombo } from "../KeyBindingsManager";
import { IKeyboardShortcuts, KeyBindingAction } from "./KeyboardShortcuts";
/**
* This function gets keyboard shortcuts that can be consumed by the KeyBindingDefaults.
*/
export declare const getKeyboardShortcuts: () => IKeyboardShortcuts;
/**
* Gets keyboard shortcuts that should be presented to the user in the UI.
*/
export declare const getKeyboardShortcutsForUI: () => IKeyboardShortcuts;
export declare const getKeyboardShortcutValue: (name: KeyBindingAction) => KeyCombo | undefined;
export declare const getKeyboardShortcutDisplayName: (name: KeyBindingAction) => string | undefined;