import * as react_jsx_runtime from 'react/jsx-runtime';
import React__default from 'react';
import { MessagesProps } from './props.js';
import '@copilotkit/runtime-client-gql';

declare const Messages: ({ messages, inProgress, children, RenderTextMessage, RenderActionExecutionMessage, RenderAgentStateMessage, RenderResultMessage, }: MessagesProps) => react_jsx_runtime.JSX.Element;
declare function useScrollToBottom(messages: any[]): {
    messagesEndRef: React__default.RefObject<HTMLDivElement>;
    messagesContainerRef: React__default.MutableRefObject<HTMLDivElement | null>;
};

export { Messages, useScrollToBottom };
