function validateHotkey(hotkey): ValidationResult;
Defined in: validate.ts:24
Validates a hotkey string and returns any warnings or errors.
Checks for:
The hotkey string to validate
Hotkey | string & object
A ValidationResult with validity status, warnings, and errors
validateHotkey('Mod+S')
// { valid: true, warnings: [], errors: [] }
validateHotkey('')
// { valid: false, warnings: [], errors: ['Hotkey cannot be empty'] }