import React from "react"; import { TFunction } from "i18next"; interface Shortcut { sequence: string; description: TFunction; } interface Category { [index: string]: Shortcut | string; fullShortcutsLink?: string; } interface ShortcutsObject { [index: string | TFunction]: Category; } const KeyboardShortcuts: { Pane: React.FC<{ productShortcuts?: ShortcutsObject; }>; usePaneState(): [boolean, React.Dispatch>]; GLOBAL_SHORTCUTS: ShortcutsObject; }; export default KeyboardShortcuts;