import { AthenaChatMention, AthenaChatUser } from './types.js'; export interface AthenaChatMessageTextProps { className?: string; /** Stable prefix for React keys; usually the message id. */ id: string; /** Structural mentions from `body_json`; offsets index into `text`. */ mentions?: readonly AthenaChatMention[]; onMentionClick?: (userId: string) => void; /** Resolves a mention's user id to a display name. */ resolveUser?: (userId: string) => AthenaChatUser | undefined; text: string; } /** * Renders message body text with paragraphs, lists, links and mentions. * * Mentions come from the structural `body_json` offsets rather than re-parsing * `@handle` text, so a renamed user never silently re-targets a mention. */ export declare function AthenaChatMessageText({ className, id, mentions, onMentionClick, resolveUser, text }: AthenaChatMessageTextProps): import("react").JSX.Element;