type ShortcutRun = string | ((context) => unknown);A shortcut’s effect: an action id run via engine.actions.run, or a
function called with the ShortcutContext. Returning false from a
function suppresses the automatic preventDefault for that keypress.