// Data-import DOMAIN — public surface. Pure, framework-free (no React, no axios, no @ump/shared).
// The application + presentation layers depend inward on this barrel; nothing here imports outward.

export * from './dataTypes';
export * from './types';
export * from './formats';
export * from './bucketPath';
export { mapFilesToTasks, type TaskPlan, type TaskGrouping } from './mapping/fileToTask';
export { validateMhdCompanions } from './mapping/mhdCompanions';
export { parseItemsList, type Series, type ItemsListTask, type ParsedItemsList } from './itemsList/parse';

// Direct Upload machine (§3)
export * from './directUpload/states';
export { canToggleGroupByStudy, validateDirectStaging } from './directUpload/guards';
export { directReducer } from './directUpload/reducer';

// Cloud Import machine (§4)
export * from './cloudImport/states';
export { cloudReducer } from './cloudImport/reducer';

// Sample-Path machine (§6)
export * from './samplePath/states';
export { samplePathReducer } from './samplePath/reducer';
