import type { StreamedMessageTextProps } from '../StreamedMessageText';
export type UseMessageTextStreamingProps = Pick<StreamedMessageTextProps, 'streamingLetterIntervalMs' | 'renderingLetterCount'> & {
    text: string;
};
/**
 * A hook that returns text in a streamed, typewriter fashion. The speed of streaming is
 * configurable.
 * @param {number} [streamingLetterIntervalMs=30] - The timeout between each typing animation in milliseconds.
 * @param {number} [renderingLetterCount=2] - The number of letters to be rendered each time we update.
 * @param {string} text - The text that we want to render in a typewriter fashion.
 * @returns {{ streamedMessageText: string }} - A substring of the text property, up until we've finished rendering the typewriter animation.
 */
export declare const useMessageTextStreaming: ({ renderingLetterCount, streamingLetterIntervalMs, text, }: UseMessageTextStreamingProps) => {
    readonly skipAnimation: import("../../../utils/useStableCallback").StableCallback<[], void>;
    readonly streamedMessageText: string;
};
