export type KeyName = "enter" | "escape" | "tab" | "backspace" | "delete" | "up" | "down" | "left" | "right" | "home" | "end" | "pageup" | "pagedown" | "ctrl+c" | "ctrl+d" | "ctrl+l" | "ctrl+o" | "alt+o" | "alt+s" | "ctrl+home" | "ctrl+end" | "unknown"; export type MouseAction = "wheel-up" | "wheel-down"; export type InputEvent = { readonly type: "text"; readonly text: string; } | { readonly type: "key"; readonly key: KeyName; readonly sequence?: string; } | { readonly type: "mouse"; readonly action: MouseAction; readonly x: number; readonly y: number; readonly sequence: string; } | { readonly type: "paste"; readonly text: string; } | { readonly type: "unknown"; readonly sequence: string; }; export declare function isKey(event: InputEvent, key: KeyName): boolean; //# sourceMappingURL=event.d.ts.map