/**
 * `<richtext-ui>` — Markdown-to-HTML rendering primitive — converts the [markdown] prop
(or fetched [src] content) into styled HTML using the canonical
prose tokens. Used for rendering LLM responses inside chat surfaces,
article bodies, and documentation pages. Distinct from <code-ui>
(syntax-highlighted code), <textarea-ui> (interactive editor), and
<text-ui> (single-line typography). Not a Markdown editor — for
editing use a CodeMirror-backed <code-ui language="markdown"
editable>.

 *
 * @see https://ui-kit.exe.xyz/site/components/richtext
 *
 * Type declarations generated by scripts/build/dts-codegen.mjs from
 * the component's `.a2ui.json` sidecar(s). Edit the source `.yaml`,
 * run `npm run build:components`, then `npm run codegen:dts` to
 * regenerate; or hand-author this file fully if rich event types are
 * needed beyond what the yaml `events:` block can express.
 */

import { UIElement } from '../../core/element.js';

export class UIRichText extends UIElement {
  /** Component property: markdown. */
  markdown: string;
  /** Source URL (image, iframe, etc.). */
  src: string;
}
