/** * Typewriter animation for CLI streaming output. * Writes text character-by-character with a configurable delay. * @module cli/utils/typewriter */ /** * Write text to stdout with a per-character typewriter animation. * Falls back to raw write when delay is 0 or negative. */ export declare function typewriterWrite(text: string, delayMs?: number): Promise; /** Whether typewriter animation should be used for the current process. */ export declare function shouldAnimate(): boolean; /** * Write text to stdout with animation when stdout is a TTY, otherwise * fall back to a raw write. Use this from CLI streaming code paths to * keep the behaviour consistent in one place. */ export declare function animatedWrite(text: string): Promise;