Trilium Frontend API
    Preparing search index...

    Type Alias ShortcutHint

    ShortcutHint:
        | { action: KeyboardActionNames; labelKey?: string }
        | { keys: string[]; labelKey: string }

    A single contextual shortcut hint. Either:

    • references a registered keyboard action, so the "Shortcut Hints" pane shows the user's current (rebindable) binding formatted for their platform; or
    • lists literal keys for widget-local shortcuts that aren't in the global action registry (e.g. the image viewer's zoom + / - / 0).

    labelKey is an i18n key describing what the shortcut does. It is optional for the action variant (the pane falls back to the action's friendly name) and required for the keys variant.