export declare const encoder: TextEncoder; /** * Convert a single character to its Ctrl+char byte representation. * For a-z returns 0x01–0x1a, for special chars returns the standard mapping. * Returns null if the character has no Ctrl equivalent. */ export declare function ctrlCharToByte(char: string): Uint8Array | null; /** * Encode a keyboard event into the byte sequence expected by the terminal. * Returns null if the event should not be forwarded. */ export declare function keyToBytes(e: KeyboardEvent, appCursor: boolean): Uint8Array | null; //# sourceMappingURL=keyboard.d.ts.map