///
import { Writable } from 'stream';
import Commands from '@kui-shell/core/api/commands';
declare class OraStream extends Writable {
private stdout;
private spinner;
private killLine;
private color;
private cb;
constructor();
init(text: string, { createOutputStream }: Commands.Arguments): Promise;
text: string;
next(str: string, successStr?: string): Promise;
clear(): Promise;
private start;
stop(withBlank?: boolean): Promise;
private blank;
fail(message?: string): Promise;
succeed(message?: string): Promise;
_write(chunk: Buffer, enc: string, next: (error?: Error | null) => void): Promise;
}
export default OraStream;