//#region src/lib/typed-character.d.ts /** The keyboard event fields {@link typedCharacter} reads. */ export type TypedCharacterEvent = Pick; /** * The character a keystroke typed, or `null` for a named key ("Enter", * "Dead"), IME composition, or a command chord. * * `key` already holds what the layout produced, so modifiers matter only when * they make the press a command. Alt alone is text input: Czech, Slovak and * German macOS layouts type "@", "{", "[", "|" and "~" with Option, and * Chrome on macOS never reports AltGraph. Windows AltGr arrives as Ctrl+Alt, * usually but not always with the AltGraph state. Only Cmd/Win, or Ctrl * without Alt or AltGraph, is a command chord. */ export declare const typedCharacter: (event: TypedCharacterEvent) => string | null; //#endregion