@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
19 lines (18 loc) • 765 B
TypeScript
/**
* 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<void>;
/** 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<void>;