/**
 * Compliance Wiki types.
 */

export interface WikiCategory {
  id: string
  name: string
  description: string
  icon: string
  sortOrder: number
  articleCount: number
}

export interface WikiArticle {
  id: string
  categoryId: string
  categoryName: string
  title: string
  summary: string
  content: string
  legalRefs: string[]
  tags: string[]
  relevance: 'critical' | 'important' | 'info'
  sourceUrls: string[]
  version: number
  updatedAt: string
}

export interface WikiSearchResult {
  id: string
  title: string
  summary: string
  categoryName: string
  relevance: string
  highlight: string
}
