import { UseCase } from '../../../core/domain/useCases/UseCase'; import { ICollectionsRepository } from '../repositories/ICollectionsRepository'; export declare class LinkCollection implements UseCase { private collectionsRepository; constructor(collectionsRepository: ICollectionsRepository); /** * Creates a link between two collections. The linked collection will be linked to the linking collection.: * * @param {number| string} [linkedCollectionIdOrAlias] - The collection to be linked. Can be either a string (collection alias), or a number (collection id) * @param { number | string} [linkingCollectionIdOrAlias] - The collection that will be linking to the linked collection. Can be either a string (collection alias), or a number (collection id) * @returns {Promise} -This method does not return anything upon successful completion. */ execute(linkedCollectionIdOrAlias: number | string, linkingCollectionIdOrAlias: number | string): Promise; }