UNPKG

matrix-react-sdk

Version:
13 lines (12 loc) 647 B
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;