import { UmbControllerBase } from '../../../../../libs/class-api/index.js'; import type { UmbEntityModel } from '../../../../core/entity/index.js'; import type { UmbEntityReferenceDataSource, UmbReferenceItemModel } from '../../../../relations/relations/index.js'; import type { UmbPagedModel, UmbDataSourceResponse } from '../../../../core/repository/index.js'; /** * @class UmbMemberReferenceServerDataSource * @implements {UmbEntityReferenceDataSource} */ export declare class UmbMemberReferenceServerDataSource extends UmbControllerBase implements UmbEntityReferenceDataSource { #private; /** * Fetches the item for the given unique from the server * @param {string} unique - The unique identifier of the item to fetch * @param {number} skip - The number of items to skip * @param {number} take - The number of items to take * @returns {Promise>>} - Items that are referenced by the given unique * @memberof UmbMemberReferenceServerDataSource */ getReferencedBy(unique: string, skip?: number, take?: number): Promise>>; /** * Checks if the items are referenced by other items * @param {Array} uniques - The unique identifiers of the items to fetch * @param {number} skip - The number of items to skip * @param {number} take - The number of items to take * @returns {Promise>>} - Items that are referenced by other items * @memberof UmbMemberReferenceServerDataSource */ getAreReferenced(uniques: Array, skip?: number, take?: number): Promise>>; /** * Returns any descendants of the given unique that is referenced by other items * @param {string} unique - The unique identifier of the item to fetch descendants for * @param {number} skip - The number of items to skip * @param {number} take - The number of items to take * @returns {Promise>>} - Any descendants of the given unique that is referenced by other items * @memberof UmbMemberReferenceServerDataSource */ getReferencedDescendants(unique: string, skip?: number, take?: number): Promise>>; }