import * as React from 'react';
import * as react_jsx_runtime from 'react/jsx-runtime';
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.RefObject<HTMLDivElement>;
    messagesContainerRef: React.MutableRefObject<HTMLDivElement | null>;
};

export { Messages, useScrollToBottom };
