import { type Accessor, type JSX } from 'solid-js'; import { type ActivityStep, type RenderBlock } from '@/dynamic-ui'; import { type TextDirection } from '@/dynamic-ui/text-direction'; import type { DuiArtifactAccess } from './types'; type MessageBlocksProps = { blocks: RenderBlock[]; activity?: ActivityStep[]; /** The widget's markdown renderer. Receives an accessor so a streaming segment updates in place. */ renderMarkdown: (content: Accessor) => JSX.Element; /** Present only while the conversation can accept a follow-up turn; absent makes blocks read-only. */ onRespond?: (text: string) => void; /** Present only when a server session exists to scope artifact reads through. */ artifacts?: DuiArtifactAccess; dir?: TextDirection; }; export declare function MessageBlocks(props: MessageBlocksProps): JSX.Element; export {};