import { UseCase } from '../../../core/domain/useCases/UseCase'; import { VersionUpdateType } from '../models/Dataset'; import { IDatasetsRepository } from '../repositories/IDatasetsRepository'; export declare class PublishDataset implements UseCase { private datasetsRepository; constructor(datasetsRepository: IDatasetsRepository); /** * Publishes a dataset, given its identifier and the type of version update type. * * @param {number | string} [datasetId] - The dataset identifier, which can be a string (for persistent identifiers), or a number (for numeric identifiers). * @param {VersionUpdateType} versionUpdateType - Specifies the type of version update, 'major', 'minor' or 'updatecurrent' * @returns {Promise} - This method does not return anything upon successful completion. */ execute(datasetId: number | string, versionUpdateType: VersionUpdateType): Promise; }