import { ParsedKey } from "./types"; /** * Normalizes a live KeyboardEvent into a ParsedKey. * * This is the counterpart to parseShortcut() — parseShortcut() converts * a user-defined string into a ParsedKey, and normalizeEvent() converts * a live browser event into a ParsedKey. The two can then be compared. * * We use KeyboardEvent.key exclusively — NOT keyCode, which, or code. * This ensures correct behavior on international and alternative layouts. */ export declare function normalizeEvent(event: KeyboardEvent): ParsedKey; /** * Returns true if the event was triggered by a standalone modifier key. * We use this to ignore events like pressing Ctrl alone — these should * never trigger a shortcut binding. */ export declare function isModifierOnly(event: KeyboardEvent): boolean; //# sourceMappingURL=normalizer.d.ts.map