import { UseCase } from '../../../core/domain/useCases/UseCase'; import { CollectionSearchCriteria } from '../../../collections'; import { CollectionItemSubset } from '../models/CollectionItemSubset'; import { ICollectionsRepository } from '../repositories/ICollectionsRepository'; export declare class GetCollectionItems implements UseCase { private collectionsRepository; constructor(collectionsRepository: ICollectionsRepository); /** * Returns an instance of CollectionItemSubset that contains reduced information for each item that the calling user can access in the installation. * If the collectionId parameter is not set, the use case will return items starting from the root collection. * * @param {string} [collectionId] - Collection id (optional). * @param {number} [limit] - Limit for pagination (optional). * @param {number} [offset] - Offset for pagination (optional). * @param {CollectionSearchCriteria} [collectionSearchCriteria] - Supports filtering the collection items by different properties (optional). * @param {string} [searchServiceName] - The search service name on which to execute the search (optional). * @param {boolean} [showTypeCounts] - If true, the response will include the count per object type (optional). * @returns {Promise} */ execute(collectionId?: string, limit?: number, offset?: number, collectionSearchCriteria?: CollectionSearchCriteria, searchServiceName?: string, showTypeCounts?: boolean): Promise; }