export interface ChatAttachment { name: string; contentBase64: string; } export function ChatAttachmentList({ attachments, onRemove }: { attachments: ChatAttachment[]; onRemove: (name: string) => void }) { if (attachments.length === 0) return null; return (