import { Writable, WritableOptions } from 'stream'; import { ILogObject } from './ILogObject'; import { ILogFormatter } from './ILogFormatter'; export declare class ConsoleStream extends Writable { private $formatter; constructor(opts?: WritableOptions); setFormatter(formatter: ILogFormatter): void; private $formatMessage; _write(chunk: ILogObject, encoding: BufferEncoding, callback: (error?: Error) => void): void; _destroy(error: Error | null, callback: (error?: Error | null) => void): void; }