import React, { Ref } from 'react'; import { Section } from '../../hooks/useChat'; /** * Component that renders a single chat section (user message + assistant response). * Handles message expansion, editing, copying, text-to-speech, and exports. * * @param section - The chat section data * @param sectionIndex - The index of this section in the conversation * @param dividerRef - Optional ref for the divider element * @param isLast - Whether this is the last message in the thread * @returns {JSX.Element} The rendered message bubble */ declare const MessageBox: ({ section, dividerRef, isLast, }: { section: Section; sectionIndex: number; dividerRef?: Ref; isLast: boolean; }) => React.JSX.Element; export default MessageBox;