import * as React from 'react';
import * as react_jsx_runtime from 'react/jsx-runtime';
import { MessagesProps } from './props.js';
import { Message } from '@finalyst/shared';
import '../../types/suggestions.js';

declare const Messages: ({ inProgress, children, RenderMessage, AssistantMessage, UserMessage, ErrorMessage, ImageRenderer, onRegenerate, onCopy, onThumbsUp, onThumbsDown, markdownTagRenderers, chatError, RenderTextMessage, RenderActionExecutionMessage, RenderAgentStateMessage, RenderResultMessage, RenderImageMessage, }: MessagesProps) => react_jsx_runtime.JSX.Element;
declare function useScrollToBottom(messages: Message[]): {
    messagesEndRef: React.RefObject<HTMLDivElement>;
    messagesContainerRef: React.MutableRefObject<HTMLDivElement | null>;
};

export { Messages, useScrollToBottom };
