/** * ANSI escape helpers and keyboard parsing for interactive TUI menus. */ export declare const ANSI: { readonly hide: "\u001B[?25l"; readonly show: "\u001B[?25h"; readonly up: (lines?: number) => string; readonly clearLine: "\u001B[2K"; readonly clearScreen: "\u001B[2J"; readonly moveTo: (row: number, col: number) => string; readonly cyan: "\u001B[36m"; readonly green: "\u001B[32m"; readonly red: "\u001B[31m"; readonly yellow: "\u001B[33m"; readonly dim: "\u001B[2m"; readonly bold: "\u001B[1m"; readonly reset: "\u001B[0m"; }; export type KeyAction = "up" | "down" | "enter" | "escape" | "escape-start" | null; export declare function parseKey(data: Buffer): KeyAction; export declare function isTTY(): boolean; //# sourceMappingURL=ansi.d.ts.map