/**
 * Controls Library
 *
 * Standard controls for vendor and processing activity compliance.
 * Barrel file that re-exports the merged array, domain arrays, and helpers.
 */

// Merged controls array
export { CONTROLS_LIBRARY } from './controls-all'

// Domain-specific arrays
export {
  TRANSFER_CONTROLS,
  AUDIT_CONTROLS,
  DELETION_CONTROLS,
  INCIDENT_CONTROLS,
} from './controls-data-compliance'

export {
  SUBPROCESSOR_CONTROLS,
  TOM_CONTROLS,
  CONTRACT_CONTROLS,
  DATA_SUBJECT_CONTROLS,
  SECURITY_CONTROLS,
  GOVERNANCE_CONTROLS,
} from './controls-data-operations'

// Helper functions
export {
  getAllControls,
  getControlsByDomain,
  getControlById,
  getRequiredControls,
  getControlsByFrequency,
  getVendorControls,
  getProcessingActivityControls,
  getControlsGroupedByDomain,
  getControlDomainMeta,
  calculateControlCoverage,
} from './controls-helpers'
