//#region src/utils/colors.d.ts /** * A colorizer — callable as a function (`colors.red('foo')`) or as a * tagged template (``colors.red`foo ${bar}` ``). */ interface ColorFn { (text: unknown): string; (template: TemplateStringsArray, ...values: unknown[]): string; } /** * Minimal terminal color palette. Each entry is callable as both a * plain function and a tagged template. */ interface Colors { blue: ColorFn; cyan: ColorFn; gray: ColorFn; green: ColorFn; red: ColorFn; yellow: ColorFn; bold: ColorFn; dim: ColorFn; reset: ColorFn; underline: ColorFn; } declare const colors: Colors; //#endregion export { ColorFn, Colors, colors };