import { IFilesRepository } from '../repositories/IFilesRepository'; import { UseCase } from '../../../core/domain/useCases/UseCase'; import { RestrictFileDTO } from '../dtos/RestrictFileDTO'; export declare class RestrictFile implements UseCase { private readonly filesRepository; constructor(filesRepository: IFilesRepository); /** * Restrict or unrestrict an existing file. * More detailed information about the file restriction behavior can be found in https://guides.dataverse.org/en/latest/api/native-api.html#restrict-files * * @param {number | string} [fileId] - The File identifier, which can be a string (for persistent identifiers), or a number (for numeric identifiers). * @param {RestrictFileDTO} [restrictFileDTO] - The DTO containing the file restriction information. * @returns {Promise} -This method does not return anything upon successful completion. */ execute(fileId: number | string, restrictFileDTO: RestrictFileDTO): Promise; }