dataSourceManager: DataSourceManager;
class DataSourceManager {
constructor();
// 数据源管理
addDataSource(ds: DataSource | DataSourceOptions): void;
upsertDataSource(ds: DataSource | DataSourceOptions): void;
removeDataSource(key: string): void;
clearDataSources(): void;
// 读取数据源
getDataSources(): DataSource[]; // 获取所有数据源
getDataSource(key: string): DataSource | undefined; // 按 key 获取数据源
// 按数据源 + 集合直接访问元数据
getCollection(dataSourceKey: string, collectionName: string): Collection | undefined;
getCollectionField(fieldPathWithDataSource: string): CollectionField | undefined;
}