import type { StreamedMessageTextProps } from '../StreamedMessageText'; export type UseMessageTextStreamingProps = Pick & { text: string; }; /** * Reveals `text` in a typewriter fashion as it grows. The text present on mount shows at once. * * @param params.streamingLetterIntervalMs - Delay in ms between reveal steps. Defaults to 30. * @param params.renderingLetterCount - Number of letters revealed per step. Defaults to 2. * @param params.text - Full text to reveal. * @returns `streamedMessageText`, the part of `text` revealed so far, and `skipAnimation`, which * reveals all of it at once. */ export declare const useMessageTextStreaming: ({ renderingLetterCount, streamingLetterIntervalMs, text, }: UseMessageTextStreamingProps) => { readonly skipAnimation: import("../../..").StableCallback<[], void>; readonly streamedMessageText: string; }; //# sourceMappingURL=useMessageTextStreaming.d.ts.map