'use client';

/** Messages — chat transcript rendering (list, bubble, tool calls, …). */

export {
  MessageList,
  type MessageListProps,
  type MessageListHandle,
} from './MessageList';
export { MessageBubble, type MessageBubbleProps } from './MessageBubble';
export { MessageActions, type MessageActionsProps } from './MessageActions';
export { Sources, type SourcesProps } from './Sources';
export { ToolCalls, type ToolCallsProps, type ToolPayloadKind } from './ToolCalls';
export {
  Attachments,
  AttachmentsGrid,
  AttachmentsList,
  type AttachmentsProps,
  type AttachmentsGridProps,
  type AttachmentsListProps,
  type AttachmentRenderer,
  type AttachmentRendererArgs,
  type AttachmentRendererMap,
} from './Attachments';
export { JumpToLatest, type JumpToLatestProps } from './JumpToLatest';
export { StreamingIndicator, type StreamingIndicatorProps } from './StreamingIndicator';
export {
  MessageBlocks,
  type MessageBlocksProps,
  createBlockRegistry,
  BUILTIN_BLOCK_REGISTRY,
  type BlockRegistry,
  type BlockRenderer,
  type BlockRenderContext,
} from './blocks';
