import { WriteStream } from "tty"; /** * A stream that can write logs and print a spinner to the terminal without * interfering with each other. */ export declare class SpinnerStream { private stream; private spinner; private buffer; private interval; private isTty; constructor(stream: WriteStream, text: string); write(log: string): void; private updateSpinner; stopSpinner(): void; }