import { styleText } from "node:util"; import type { Writer } from "./writer.js"; export type Format = Parameters[0]; export type Paint = (format: Format, text: string) => string; /** Styles text for `stream`; Node decides on color for real streams, other writers stay plain. */ export declare const painter: (stream: Writer) => Paint;