import { ExtendedEditor } from 'handsontable/editors/factory'; export interface KeyboardShortcutConfig { keys: string[][]; callback: (editorInstance: ExtendedEditor, event: KeyboardEvent) => boolean | void; group?: string; runOnlyIf?: () => boolean; captureCtrl?: boolean; preventDefault?: boolean; stopPropagation?: boolean; relativeToGroup?: string; position?: 'before' | 'after'; forwardToContext?: any; }