export interface FarmContext {
  soilType: string
  waterEC: string
  selectedCrop: string
  growthStage: string
  lastIrrigationStatus: string
}

export interface SuggestionChip {
  id: string
  label: string
}

// Structured AI response sections for card-based rendering
export interface AIResponseSection {
  type: 'text' | 'list' | 'recommendation' | 'warning'
  title?: string
  content?: string
  items?: string[]
  icon?: 'droplet' | 'leaf' | 'warning' | 'fertilizer' | 'calendar'
  // Recommendation-specific
  frequency?: string
  amount?: string
  timing?: string
  expandableExplanation?: string
}

export interface FarmAIMessage {
  id: string
  role: 'user' | 'assistant'
  content: string
  timestamp: Date
  images?: string[]
  // For structured AI responses
  sections?: AIResponseSection[]
}
