import type { Color } from '../types.js'; /** * Simple color formatting using template-like syntax * Example: color`Hello ${'world'}.red.bold` */ export declare function color(strings: TemplateStringsArray, ...values: any[]): string; /** * Create a color formatter function * Usage: const red = colorFn('red', { bold: true }); * red('Hello') // returns styled text */ export declare function colorFn(color: Color, style?: { bold?: boolean; italic?: boolean; underline?: boolean; }): (text: string) => string; /** * Pre-defined color formatters for convenience */ export declare const colors: { black: (text: string) => string; red: (text: string) => string; green: (text: string) => string; yellow: (text: string) => string; blue: (text: string) => string; magenta: (text: string) => string; cyan: (text: string) => string; white: (text: string) => string; brightBlack: (text: string) => string; brightRed: (text: string) => string; brightGreen: (text: string) => string; brightYellow: (text: string) => string; brightBlue: (text: string) => string; brightMagenta: (text: string) => string; brightCyan: (text: string) => string; brightWhite: (text: string) => string; bold: (text: string) => string; dim: (text: string) => string; italic: (text: string) => string; underline: (text: string) => string; }; /** * Chainable color API * Usage: colors.red.bold('Hello') or colors.bold.red('Hello') */ type ColorChain = { [K in keyof typeof colors]: ColorChain & ((text: string) => string); }; export declare const c: ColorChain; export {}; //# sourceMappingURL=colors-simple.d.ts.map