/** What a gesture or key does; each combo is a set of keys, and a second combo does the same. */ export interface Shortcut { combos: string[][]; does: string; } export interface ShortcutGroup { title: string; shortcuts: Shortcut[]; } /** Whether the keyboard is an Apple one, whose Command key does what Control does elsewhere. */ export declare const IS_MAC: boolean; /** Copy, paste and undo take Command on a Mac and Control elsewhere, as the handlers do. A Mac * shows its symbols; elsewhere the keys go by the names their keycaps carry in the strings. */ export declare function modifierKeys(key: { ctrl: string; alt: string; }): { mod: string; alt: string; }; /** A toolbar button that opens the list of gestures and keys a pane takes. */ export declare function ShortcutsButton({ groups }: { groups: ShortcutGroup[]; }): import("react").JSX.Element;