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