/**
 * 数据源领域模块
 * 统一导出所有公共接口
 */

// 类型定义
export { DataSourceType, CascadeDataSourceType } from './types';
export type { 
  DataSourceOption, 
  DataSourceConfig, 
  DataSourceRegistry,
  CascadeOption,
  CascadeDataSourceConfig,
  CascadeDataSourceRegistry,
  CascadeLevelConfig
} from './types';

// 注册表
export { DATA_SOURCE_REGISTRY, getDataSourceConfig, hasDataSource, getAllDataSourceTypes } from './DataSourceRegistry';
export { CASCADE_DATA_SOURCE_REGISTRY, getCascadeDataSourceConfig, hasCascadeDataSource, getAllCascadeDataSourceTypes } from './CascadeDataSourceRegistry';

// 服务
export { dataSourceService, loadDataSource, loadMultipleDataSources } from './DataSourceService';
export { cascadeDataSourceService, loadCascadeFirstLevel, loadCascadeChildren } from './CascadeDataSourceService';

