import { TextWriterBase } from "../text/TextWriterBase"; interface LogConsole { debug(...args: any[]): void; log(...args: any[]): void; warn(...args: any[]): void; error(...args: any[]): void; } export declare class ConsoleWriter extends TextWriterBase { static readonly default: ConsoleWriter; private _buffer; private _out; private _level; constructor(out?: LogConsole); getLogLevel(): "debug" | "log" | "warn" | "error"; setLogLevel(level: keyof LogConsole): void; /** Flushes the buffer to the console */ writeNewLine(): void; /** Adds a text chunk to the buffer. Buffer contents will be flushed when * the end of line will be printed. * * @param text The text to be added to the buffer. */ writeText(text: string): void; /** Wrotes the specified value to the buffer. * * @param value The value to be added to the buffer * @param spec The instructions how to format the value, is this parameter * is ommited the raw value will be added to the buffer and * passed directly to the console out. */ writeValue(value: any, spec?: string): void; } export {};