import type { PrinterWriteStream } from '../types/printer.types'; export declare abstract class Printer> { private stdio; protected successFn(msg: string): string; protected errorFn(msg: string): string; protected warnFn(msg: string): string; protected infoFn(msg: string): string; protected debugFn(msg: string): string; private showColors; protected showProgress: boolean; protected constructor(stdio: PrinterWriteStream); protected abstract self(): T; protected abstract stop(): T; /** * Writes the given text to stdio. Does nothing, if no text is provided */ protected write(text?: string): T; protected clearLine(): T; protected newline(): T; protected deleteLastLine(): T; /** * Suppresses all log output of the current instance. Can't be undone for that instance */ silent(): T; /** * Suppresses all colors on logging output. Can't be undone on a running instance */ noColor(): T; /** * Suppresses all output of progress bars. Can't be undone on a running instance */ noProgress(): T; }