export declare function isEscape(data: string): boolean; export declare function isEnter(data: string): boolean; export declare function isUp(data: string): boolean; export declare function isDown(data: string): boolean; export declare function isLeft(data: string): boolean; export declare function isRight(data: string): boolean; export declare function isTab(data: string): boolean; export declare function isBackTab(data: string): boolean; export declare function isBackspace(data: string): boolean; /** * The literal text a key event carries, or undefined when it is a control or navigation key. * Under the Kitty protocol an ordinary character arrives as a CSI-u sequence, so a plain * printable-range test on the raw bytes is not sufficient. */ export declare function printableText(data: string): string | undefined; /** True when the event is exactly the given printable character, in either encoding. */ export declare function isCharacter(data: string, character: string): boolean; /** * True for a Kitty key-release event. `matchesKey` deliberately ignores the event type, so a * raw terminal-input hook sees both the press and the release of one keystroke and would act * twice. The TUI filters releases before reaching a focused component, but `onTerminalInput` * receives them unfiltered. Key repeat is a real repeat and must not be filtered. */ export declare function isReleaseEvent(data: string): boolean; //# sourceMappingURL=tui-keys.d.ts.map