import { AbstractSession } from "@zowe/imperative" ; import { IZosFilesResponse } from "../../doc/IZosFilesResponse" ; import { IDeleteOptions } from "./doc/IDeleteOptions" ; import { ZosFilesUtils } from "../../utils/ZosFilesUtils" ; import { ZosFilesMessages } from "../../constants/ZosFiles.messages" ; /**
 * This class holds helper functions that are used to delete data sets through the
 * z/OSMF APIs.
 */ export class HDelete { param { AbstractSession } session param { string } dataSetName param { boolean } wait returns { Promise < IZosFilesResponse > } throws throws {Error} When the  ZosmfRestClient throws an error
     *
     *  see https public static async dataSet ( session , dataSetName , options = { } ) { return ZosFilesUtils . dfsmsHsmCommand ( session , dataSetName , ZosFilesMessages . datasetDeletionRequested . message , { request : "hdelete" } , options ) ; } }