/**
 * TypeScript types for Settings and AI Control
 */

export interface AIControlSettings {
  enabledCategories: string[]
  categoryActions: Record<string, 'inbox' | 'archive_read' | 'star'>
  autoDetectCompanies: boolean
}

export interface CompanyLabel {
  id?: string
  name: string
  condition: string
  enabled: boolean
  category?: string
}

export interface CategoryInfo {
  key: string
  name: string
  description: string
  defaultAction: 'inbox' | 'archive_read' | 'star'
  color: string
  enabled: boolean
}

export interface KnownCompany {
  name: string
  domain: string
  enabled: boolean
}
