export interface TenantOverview {
  id: string
  name: string
  slug: string
  status: string
  max_users: number
  llm_quota_monthly: number
  compliance_score: number
  risk_level: string
  namespace_count: number
  open_incidents: number
  open_reports: number
  pending_dsrs: number
  training_completion_rate: number
  vendor_risk_high: number
  created_at: string
  updated_at: string
}

export interface TenantNamespace {
  id: string
  tenant_id: string
  name: string
  slug: string
  isolation_level: string
  data_classification: string
  created_at: string
}

export interface OverviewResponse {
  tenants: TenantOverview[]
  total: number
  average_score: number
  generated_at: string
}

export interface CreateTenantForm {
  name: string
  slug: string
  max_users: number
  llm_quota_monthly: number
}

export interface EditTenantForm {
  name: string
  max_users: number
  llm_quota_monthly: number
  status: string
}

export interface CreateNamespaceForm {
  name: string
  slug: string
  isolation_level: string
  data_classification: string
}

export type SortField = 'name' | 'score' | 'risk'
export type StatusFilter = 'all' | 'active' | 'suspended' | 'inactive'
