/** * ANSI color codes for terminal output */ declare const ANSI_COLORS: { black: string; red: string; green: string; yellow: string; blue: string; magenta: string; cyan: string; white: string; gray: string; reset: string; }; /** * CSS color values for browser console */ export declare const CSS_COLOR_VALUES: { black: string; red: string; green: string; yellow: string; blue: string; magenta: string; cyan: string; white: string; gray: string; reset: string; }; export type ColorName = keyof typeof ANSI_COLORS; /** * Adds color to text in both Node.js and browser environments * Returns formatted text for Node.js or special format for browser console * * @param text - The text to colorize * @param color - The color to apply * @returns Colorized text string */ export declare function colorize(text: string, color: ColorName): string; /** * Logs colored text in both browser and Node.js environments * Ensures consistent behavior across platforms * * @param text - The text to log with color * @param color - The color to apply */ export declare function colorLog(text: string, color: ColorName): void; export {}; //# sourceMappingURL=colorize.d.ts.map