export type ChatRole = 'user' | 'service' export interface ChatMessage { id: string role: ChatRole nickname: string content: string avatar: string }