export type KbxAuditSource = 'user' | 'system' | 'api' | 'import' | 'ai' | 'batch'

export interface KbxAuditEntry {
  id: string
  occurredAt: string
  actor: {
    type: KbxAuditSource
    displayName: string
  }
  action: string
  changes?: Array<{
    field: string
    label: string
    before?: unknown
    after?: unknown
  }>
  reason?: string
}
