import { GitBranch, ArrowUpRight, Sparkles, Clock, Hash } from 'lucide-react' import type { FlowProposalSummary } from '@/types/flow-proposal' const TYPE_CONFIG = { new_flow: { label: 'New Flow', color: 'text-emerald-400 bg-emerald-400/10 border-emerald-400/20', icon: Sparkles }, enhancement: { label: 'Enhancement', color: 'text-amber-400 bg-amber-400/10 border-amber-400/20', icon: ArrowUpRight }, branch_addition: { label: 'Branch', color: 'text-blue-400 bg-blue-400/10 border-blue-400/20', icon: GitBranch }, auto_reinforced: { label: 'Reinforced', color: 'text-muted-foreground bg-card border-border', icon: Sparkles }, } as const interface ProposalCardProps { proposal: FlowProposalSummary isSelected: boolean onClick: () => void } export function ProposalCard({ proposal, isSelected, onClick }: ProposalCardProps) { const typeConfig = TYPE_CONFIG[proposal.proposal_type] || TYPE_CONFIG.new_flow const TypeIcon = typeConfig.icon return ( ) }