export declare const ANIMATION_DURATION_MS = 200; /** * Hook to animate a text word by word. * @param text - the full text content to be animated. * @param reduceMotion - whether to reduce motion and disable animations. * @param responseState - the current state of the response ('static', 'streaming', 'complete'). * @param onAnimationStateChange - optional callback fired when animation starts or finishes * (including the CSS fade-in settling time of the last word). * @returns the portion of text that can already be rendered and a boolean indicating whether the text is still animating. * @internal */ export declare const useTextAnimation: (text: string, reduceMotion: boolean, responseState: "static" | "streaming" | "complete", onAnimationStateChange?: (isAnimating: boolean) => void) => { displayedText: string; isTextAnimating: boolean; };