import { type Ref } from 'vue'; import type { BubbleAnimationOption, BubbleProps } from '../interface'; interface OutputData { text: string; taskId: number; id: string; done: boolean; } export declare function useTyping({ streaming, content, typing, onTyping, onTypingComplete, }: { streaming: Ref; content: Ref; typing: Ref; onTyping?: BubbleProps['onTyping']; onTypingComplete?: BubbleProps['onTypingComplete']; }): { renderedData: Ref<{ text: string; taskId: number; id: string; done: boolean; }[], OutputData[] | { text: string; taskId: number; id: string; done: boolean; }[]>; animating: Ref; memoedAnimationCfg: import("vue").ComputedRef; }; export default useTyping;