import { styleText as nodeStyleText } from "node:util"; /** Text format(s) accepted by {@linkcode styleText}. */ export type TextFormat = Parameters[0]; /** Applies ANSI formatting to the provided text. * * Unlike `node:util`'s `styleText`, this does not validate the output stream * because dax writes through configurable loggers rather than always writing * to stderr. Formatting is therefore enabled by default and controlled only by * the environment: `NO_COLOR` disables it and `FORCE_COLOR` overrides both. */ export declare function styleText(format: TextFormat, text: string): string;