import type { KeyCodeCommand as KeyCodeCommandBase } from "../KeyCodeCommand"; import { KeyCodes } from "./KeyCodes"; import type { Modifiers } from "./Modifiers"; /** * A MacOS key code command. */ export interface KeyCodeCommand extends KeyCodeCommandBase { /** * The key code or key codes to send. */ keyCode: KeyCodes | KeyCodes[]; /** * List of modifier keys to press while sending the key code(s). */ modifiers?: Modifiers[]; /** * Description of the action the key code performs. */ description?: string; /** * Symbolic representation of the key code and modifier keys this command * uses. */ representation?: string; }