import { ChalkInstance, Options } from 'chalk'; type ColorInstance = ChalkInstance & { [P in keyof ChalkInstance]: (str: string) => string; }; type ColorConstructor = new (options?: Options) => ColorInstance; declare const Color: new (options?: Options) => ColorInstance; /** @see https://github.com/chalk/chalk */ declare const color: ColorInstance; declare const template: (text: string) => string; /** * * Blocks are delimited by an opening curly brace ({), a style, some content, and a closing curly brace (}). * Template styles are chained exactly like normal Chalk styles. * * @see https://github.com/chalk/chalk-template * @example * console.log(c` * There are also {#FF0000 shorthand hex styles} for * both the {#ABCDEF foreground}, {#:123456 background}, * or {#ABCDEF:123456 both}. * * There are {bold 5280 feet} in a mile. * In {bold ${miles} miles}, there are {green.bold ${calculateFeet(miles)} feet}. * `) * * // Template styles are chained exactly like normal Chalk styles. The following two statements are equivalent * console.log(chalk.bold.rgb(10, 100, 200)('Hello!')); * console.log(chalkTemplate`{bold.rgb(10,100,200) Hello!}`); */ declare const t: (text: TemplateStringsArray, ...placeholders: unknown[]) => string; export { Color, type ColorConstructor, type ColorInstance, color, t, template };