export type UiKey = "up" | "down" | "left" | "right" | "home" | "end" | "pageup" | "pagedown" | "tab" | "enter" | "escape" | "backspace" | "space" | "text" | "unknown"; export interface UiKeyEvent { key: UiKey; text?: string; } export declare function matchesUiKeybinding(keybindings: unknown, input: unknown, action: string): boolean; export declare function matchesUiCancel(keybindings: unknown, input: unknown, key: UiKeyEvent): boolean; export declare function parseUiKey(input: unknown): UiKeyEvent;