import { WithSlots } from "../../lib/slots.mjs"; import * as react_jsx_runtime0 from "react/jsx-runtime"; import { UserMessage } from "@ag-ui/core"; //#region src/components/chat/CopilotChatUserMessage.d.ts interface CopilotChatUserMessageOnEditMessageProps { message: UserMessage; } interface CopilotChatUserMessageOnSwitchToBranchProps { message: UserMessage; branchIndex: number; numberOfBranches: number; } type CopilotChatUserMessageProps = WithSlots<{ messageRenderer: typeof CopilotChatUserMessage.MessageRenderer; toolbar: typeof CopilotChatUserMessage.Toolbar; copyButton: typeof CopilotChatUserMessage.CopyButton; editButton: typeof CopilotChatUserMessage.EditButton; branchNavigation: typeof CopilotChatUserMessage.BranchNavigation; }, { onEditMessage?: (props: CopilotChatUserMessageOnEditMessageProps) => void; onSwitchToBranch?: (props: CopilotChatUserMessageOnSwitchToBranchProps) => void; message: UserMessage; branchIndex?: number; numberOfBranches?: number; additionalToolbarItems?: React.ReactNode; } & React.HTMLAttributes>; declare function CopilotChatUserMessage({ message, onEditMessage, branchIndex, numberOfBranches, onSwitchToBranch, additionalToolbarItems, messageRenderer, toolbar, copyButton, editButton, branchNavigation, children, className, ...props }: CopilotChatUserMessageProps): react_jsx_runtime0.JSX.Element; declare namespace CopilotChatUserMessage { const Container: React.FC>>; const MessageRenderer: React.FC<{ content: string; className?: string; }>; const Toolbar: React.FC>; const ToolbarButton: React.FC & { title: string; children: React.ReactNode; }>; const CopyButton: React.FC & { copied?: boolean; }>; const EditButton: React.FC>; const BranchNavigation: React.FC & { currentBranch?: number; numberOfBranches?: number; onSwitchToBranch?: (props: CopilotChatUserMessageOnSwitchToBranchProps) => void; message: UserMessage; }>; } //#endregion export { CopilotChatUserMessage, CopilotChatUserMessageProps }; //# sourceMappingURL=CopilotChatUserMessage.d.mts.map