import React, { type HTMLAttributes } from 'react';
import type { OptionsType } from '@diplodoc/transform/lib/typings';
import type { BaseMessageProps, FileAttachment } from "../../../types/messages.js";
import { type MarkdownRendererMdxOptions } from "../../atoms/MarkdownRenderer/index.js";
import "./UserMessage.css";
export type UserMessageProps = Pick & {
content: React.ReactNode;
format?: 'plain' | 'markdown';
showAvatar?: boolean;
avatarUrl?: string;
/** Base64 data URLs or regular image URLs to display above the text balloon */
images?: string[];
/** File attachments to display as chips below the text balloon */
fileAttachments?: FileAttachment[];
transformOptions?: OptionsType;
shouldParseIncompleteMarkdown?: boolean;
openMarkdownLinksInNewTab?: boolean;
mdxOptions?: MarkdownRendererMdxOptions;
mdxContext?: Record;
/** Extra props forwarded to the root container `div` of the rendered markdown block. */
markdownExtraProps?: HTMLAttributes;
className?: string;
qa?: string;
};
export declare const UserMessage: (props: UserMessageProps) => import("react/jsx-runtime").JSX.Element;