/** * Color output with automatic terminal capability detection. * * Four tiers, picked once at import time (cached): * - truecolor (24-bit RGB) ← COLORTERM=truecolor|24bit, iTerm2, modern terminals * - ansi256 (256-color) ← TERM contains "256" * - ansi16 (16-color) ← any "TERM" ending in "color" or common Unix TERMs * - none (monochrome) ← NO_COLOR=1, TERM=dumb, or piped output without FORCE_COLOR * * Override with FORCE_COLOR=0|1|2|3 (std convention) or CODACHI_COLOR=truecolor|256|16|none. */ export declare const RESET = "\u001B[0m"; export declare const DIM = "\u001B[2m"; export type ColorLevel = 'truecolor' | 'ansi256' | 'ansi16' | 'none'; export declare const COLOR_LEVEL: ColorLevel; export declare function rgb(r: number, g: number, b: number): string; export declare function getContextColor(percent: number): string; export declare function getUsageColor(percent: number): string; export declare function progressBar(percent: number, width: number, colorFn: (p: number) => string): string;