/** * Terminal color detection for CLI output (issue #1281). * * One switch decides whether any lattice sensor-authored output carries ANSI * color codes. Precedence, strongest first: * * 1. `--no-color` anywhere on the command line -> off * 2. `--color` anywhere on the command line -> on * 3. `NO_COLOR` set and non-empty (no-color.org) -> off * 4. `FORCE_COLOR` set and non-empty -> on ('0'/'false' -> off) * 5. stdout is a TTY and TERM != 'dumb' -> on * 6. `CI` set and non-empty -> on (CI log viewers render ANSI) * 7. otherwise (piped/redirected stdout) -> off * * This intentionally tracks the detection @clack/prompts inherits from * picocolors closely enough that one run never mixes colored clack frames * with uncolored lattice sensor lines (or vice versa) for the common cases: * both honor NO_COLOR, --no-color/--color, FORCE_COLOR, TTY, and CI. */ export declare function ansiColorsEnabled(): boolean; //# sourceMappingURL=color.d.ts.map