/** * Raw ANSI escape primitives — ALWAYS ON, no TTY detection, no env checks. * The vocabulary, not the policy: ./log and ../cli decide WHETHER to color * (TTY, NO_COLOR, FORCE_COLOR) and build semantics on top; this module is for * output whose consumer renders ANSI regardless of what stdout is — Claude * Code status lines, tmux status strings, files a terminal will cat. A * TTY-gated palette emits nothing through those pipes, which is exactly wrong. * * 256-color escapes (`fg`/`bg`) over 24-bit as the house default: the xterm * cube is stable across every terminal/multiplexer, while 24-bit gets * quantized or dropped by tmux/screen configs. `rgb` exists for when the * consumer is known to render truecolor. */ export declare const RESET = "\u001B[0m"; export declare const BOLD = "\u001B[1m"; export declare const DIM = "\u001B[2m"; export declare const ITALIC = "\u001B[3m"; export declare const UNDERLINE = "\u001B[4m"; /** Foreground, xterm-256 palette index. */ export declare function fg(n: number): string; /** Background, xterm-256 palette index. */ export declare function bg(n: number): string; /** Foreground, 24-bit — only when the consumer is known to render truecolor. */ export declare function rgb(r: number, g: number, b: number): string; export declare const ANSI_RE: RegExp; /** The string minus its ANSI style escapes. */ export declare const stripAnsi: (s: string) => string; //# sourceMappingURL=ansi.d.ts.map