import { Ref, VNode } from 'vue'; /** * 消息角色 UI 配置 Composable * 用于定义消息气泡的外观、头像、操作按钮等 UI 配置 */ export declare function useMessageRoles(options: { props: { roleAvatar: { user: VNode; assistant: VNode; }; }; messages: Ref; messageState: any; inputMessage: Ref; handleSendMessage: (inputValue: string, attachmentsContent?: any[]) => Promise; }): { welcomeIcon: VNode; roles: { assistant: { type: string; placement: string; avatar: VNode; maxWidth: string; customContentField: string; slots: { footer: ({ index }: { index: number; }) => "" | VNode; }; }; user: { placement: string; avatar: VNode; maxWidth: string; customContentField: string; }; }; copyingStates: Ref, Record>; isProcessing: import('vue').ComputedRef; latestAssistantMessageIndex: import('vue').ComputedRef; copyTooltipContent: (messageIndex?: number) => "复制" | "复制成功"; copyMessageToClipboard: (index: number) => Promise; regenerateMessage: (index: number) => Promise; };