import type { RenderedMessage } from '../../utils';
type UseScrollToBottomOnNewMessageParams = {
    scrollToBottom: () => void;
    messages?: RenderedMessage[];
    /** When `true`, the list will scroll to the latest message when the window regains focus */
    scrollToLatestMessageOnFocus?: boolean;
};
export declare const useScrollToBottomOnNewMessage: ({ messages, scrollToBottom, scrollToLatestMessageOnFocus, }: UseScrollToBottomOnNewMessageParams) => void;
export {};
