import type { UmbUserGroupCollectionFilterModel } from '../types.js'; import type { UmbUserGroupDetailModel } from '../../types.js'; import type { UmbCollectionDataSource } from '../../../../core/collection/index.js'; import type { UmbControllerHost } from '../../../../../libs/controller-api/index.js'; /** * A data source for the UserGroup that fetches data from the server * @class UmbUserGroupCollectionServerDataSource * @implements {RepositoryDetailDataSource} */ export declare class UmbUserGroupCollectionServerDataSource implements UmbCollectionDataSource { #private; /** * Creates an instance of UmbUserGroupCollectionServerDataSource. * @param {UmbControllerHost} host - The controller host for this controller to be appended to * @memberof UmbUserGroupCollectionServerDataSource */ constructor(host: UmbControllerHost); getCollection(filter: UmbUserGroupCollectionFilterModel): Promise<{ data: { items: UmbUserGroupDetailModel[]; total: number; }; error?: undefined; } | { error: import("../../../../core/resources/index.js").UmbApiError | import("../../../../core/resources/index.js").UmbCancelError | undefined; data?: undefined; }>; }