/**
 * Use Case Assessment types
 *
 * Structures for documenting and assessing AI use cases,
 * including step tracking and assessment results.
 */

import type { RiskSeverity } from './core'

// =============================================================================
// USE CASE ASSESSMENT
// =============================================================================

export interface UseCaseStep {
  id: string
  name: string
  completed: boolean
  data: Record<string, unknown>
}

export interface AssessmentResult {
  riskLevel: RiskSeverity
  applicableRegulations: string[]
  recommendedControls: string[]
  dsfaRequired: boolean
  aiActClassification: string
}

export interface UseCaseAssessment {
  id: string
  name: string
  description: string
  category: string
  stepsCompleted: number
  steps: UseCaseStep[]
  assessmentResult: AssessmentResult | null
  createdAt: Date
  updatedAt: Date
}
