import { ShortcutMap } from './KeysManager'; declare type Callback = (e: KeyboardEvent) => void; declare type KeyMap = { [key in keyof T]: Callback; }; /** @visibleForTesting */ export declare function createShortcutMap(inputMap: { [key: string]: Callback; }): ShortcutMap; /** Hook function which registers a collection of keyboard shortcuts and associated callbacks. This is intended to be used in conjunction with ActiveKeys, however it provides a more traditional function of mapping individual key press events to callback functions. The input parameter is a map whose keys are a keyboard combo string such as 'shift+x', and whose values are the callback to be invoked when that key combo is pressed. */ export declare const createShortcuts: (shortcuts: KeyMap, modal?: boolean, enabled?: () => boolean) => void; export {};