/*! * Copyright (c) 2026 Broadcom. All Rights Reserved. The term * "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * * This software and all information contained therein is * confidential and proprietary and shall not be duplicated, * used, disclosed, or disseminated in any way except as * authorized by the applicable license agreement, without the * express written permission of Broadcom. All authorized * reproductions must be marked with this language. * * EXCEPT AS SET FORTH IN THE APPLICABLE LICENSE AGREEMENT, TO * THE EXTENT PERMITTED BY APPLICABLE LAW, BROADCOM PROVIDES THIS * SOFTWARE WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT * LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR * FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL BROADCOM * BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR * DAMAGE, DIRECT OR INDIRECT, FROM THE USE OF THIS SOFTWARE, * INCLUDING WITHOUT LIMITATION, LOST PROFITS, BUSINESS * INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS * EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE. */ import { OutputFile } from "./OutputFile"; import { IInputFiles } from "./doc/IHandlerFile"; import { AbstractSession, IProfile, ICommandOptionDefinition } from "@zowe/imperative"; import { IDSJob, IDSStatusTokenDataV1, IDSStatusTokenDataV2 } from "./doc/DSRestUtils/IDSJob"; import { ISpoolReport } from "./doc/IBaseHandler"; import { IVscodeEnv } from "./doc/IVscodeEnv"; import { IRequestData } from "./doc/IRequestData"; import { IDSResponse } from "./doc/DSRestUtils/IDSResponse"; export declare class ErrorFile extends OutputFile { commandName: string; private readonly profile; private readonly session; private readonly writeCommandArguments; private readonly inputFiles?; options?: ICommandOptionDefinition[]; kind: string; private static yamlOffset; private static PATTERN_NON_PRINTABLE; private static _denyList?; private static get denyList(); private _requestData?; private _job?; private _restartToken?; private _reports?; private _vscodeEnv?; private _response?; private _statusTokenData?; private timestamp; constructor(parm: string, name: string, commandName: string, profile: IProfile, session: AbstractSession, writeCommandArguments?: boolean, inputFiles?: IInputFiles, options?: ICommandOptionDefinition[]); writeAndReturnError(): string | undefined; set requestData(value: IRequestData); set job(value: IDSJob | undefined); get job(): IDSJob | undefined; set restartToken(value: string | undefined); set reports(value: ISpoolReport[] | undefined); set vscodeEnv(value: IVscodeEnv | undefined); set response(value: IDSResponse | undefined); get response(): IDSResponse | undefined; get statusTokenData(): IDSStatusTokenDataV1 | IDSStatusTokenDataV2 | undefined; get workDatasetPrefix(): string | undefined; getErrorFileContent(): string; private concatErrorSpoolFiles; private static createMultiline; private static replaceNonPrintableYAML; private getBasicExecutionInfo; private getDBMDSInfo; private getVscodeEnvInfo; private getConnectionDetails; private static valueOrEmpty; private getRequestData; private getOptions; private static getDefaultValue; private getFileContentForErrorFile; private getCommandArguments; static getErrorHeader(header: string): string; private static parseStatusToken; private maskRecord; }