import type { DataSourceFn } from '../../../libs/integration-data-source'; import type * as Models from '../models'; declare global { export namespace ContentModelDomain { type ContentModelMetadata = Models.ContentModelMetadata; type ContentModelQuery = Models.ContentModelQuery; } } export declare type ContentModelDataSource = { /** * Fetch the entire content model instance from the remote data source */ fetchContentModelInstance: DataSourceFn; /** * Fetch the list of available content model instances from the remote data source */ fetchAvailableContentModels: DataSourceFn; };