import { type SxProps, type Theme } from '@mui/material'; export type InkAiAssistantMessageProps = { /** Markdown string to render. */ content: string; /** * True when the LLM has accepted the prompt but has not yet produced any * output. Renders the `InkAiThinkingIndicator` instead of the body. * Mirrors CopilotKit's `isLoading` slot prop. */ isLoading?: boolean; /** True while the assistant is still streaming this message. Hides actions. */ isGenerating?: boolean; /** Show the feedback action row. Default: true when not generating. */ showActions?: boolean; /** * Optional label for the thinking indicator shown when `isLoading` is true * or `content` is empty. Defaults to "Thinking…" (set by * `InkAiThinkingIndicator`). */ thinkingLabel?: string; /** Called when the user clicks copy. */ onCopy?: (content: string) => void; /** Called when the user clicks copy on a code block. */ onCodeCopy?: (content: string) => void; /** Called when the user clicks a feedback button. */ onFeedback?: (kind: 'up' | 'down') => void; /** Feedback reasons shown in the thumbs-down popup. */ feedbackReasons?: string[]; /** Called when a thumbs-down feedback reason is submitted. */ onFeedbackReasonSubmit?: (values: { issueType: string; comment: string; }) => void; /** Called when the user clicks download on a code block. */ onCodeDownload?: (content: string, language?: string) => void; /** Called after the user copies an inline image. */ onImageCopy?: (src: string) => void; /** Called after the user downloads an inline image. */ onImageDownload?: (src: string) => void; className?: string; sx?: SxProps; }; /** * Renders an assistant message: markdown body styled with MUI typography * + reusable AI feedback options. * * No CopilotKit dependency — the consuming app wires this into CopilotKit's * `AssistantMessage` slot. * * When `isLoading` is true, or when `content` is empty/whitespace, the * `InkAiThinkingIndicator` is rendered in place of the body and feedback * options are hidden. */ export declare const InkAiAssistantMessage: ({ content, isLoading, isGenerating, showActions, thinkingLabel, onCopy, onCodeCopy, onFeedback, feedbackReasons, onFeedbackReasonSubmit, onCodeDownload, onImageCopy, onImageDownload, className, sx, }: InkAiAssistantMessageProps) => import("react/jsx-runtime").JSX.Element;