import { UseCase } from '../../../core/domain/useCases/UseCase'; import { FeaturedItemsDTO } from '../dtos/FeaturedItemsDTO'; import { FeaturedItem } from '../models/FeaturedItem'; import { ICollectionsRepository } from '../repositories/ICollectionsRepository'; export declare class UpdateCollectionFeaturedItems implements UseCase { private collectionsRepository; constructor(collectionsRepository: ICollectionsRepository); /** * Updates all featured items, given a collection identifier and a FeaturedItemsDTO. * * @param {number | string} [collectionIdOrAlias = ':root'] - A generic collection identifier, which can be either a string (for queries by CollectionAlias), or a number (for queries by CollectionId) * If this parameter is not set, the default value is: ':root' * @param {FeaturedItemsDTO} [featuredItemsDTO] - FeaturedItemsDTO object including the updated collection featured items data. * @returns {Promise} -This method returns the updated collection featured items upon successful completion. * @throws {WriteError} - If there are errors while writing data. */ execute(collectionIdOrAlias: string | number | undefined, featuredItemsDTO: FeaturedItemsDTO): Promise; }