/**
 * - Print the buffer to cli output stream.
 * - Reset the cursor to the beginning without using `console.clear()` to avoid flickering.
 * - Not accurate, when tab (`\t`) is used without `writeln()` nor newline (`\n`).
 */
export declare class BufferedCli {
    private out;
    private buffer;
    private lastBuffer;
    constructor(out?: NodeJS.WriteStream & {
        fd: 1;
    });
    write(message: string): void;
    writeln(message: string): void;
    private render;
    flush(): void;
    end(): void;
}
