export type Modifier = "CommandOrControl" | "Command" | "Control" | "Alt" | "Shift"; export type ParseError = "EMPTY" | "MISSING_KEY" | "EXTRA_KEY" | "MISSING_MODIFIER" | "DUPLICATE_MODIFIER" | "MODIFIER_CONFLICT" | "UNKNOWN_KEY"; export type ParsedAccelerator = { ok: true; accelerator: string; modifiers: Modifier[]; key: string; } | { ok: false; reason: ParseError; detail: string; }; export declare function parseAccelerator(input: string): ParsedAccelerator; export type AttemptVerdict = "OK" | "INVALID" | "ALREADY_OWNED" | "CONFLICT"; export type AttemptInput = { threw: boolean; ownedByThisApp: boolean; registerReturned: boolean; }; export declare function classifyAttempt(input: AttemptInput): AttemptVerdict; //# sourceMappingURL=accelerator.d.ts.map