import { UseCase } from '../../../core/domain/useCases/UseCase'; import { Template } from '../models/Template'; import { ITemplatesRepository } from '../repositories/ITemplatesRepository'; export declare class GetTemplatesByCollectionId implements UseCase { private templatesRepository; constructor(templatesRepository: ITemplatesRepository); /** * Returns a Template array containing the templates of the requested collection, given the collection identifier or alias. * * @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' * @returns {Promise} */ execute(collectionIdOrAlias?: number | string): Promise; }