import { IImperativeError, Logger, RestClient, AbstractSession } from "@zowe/imperative"; /** * Wrapper for invoke z/OSMF API through the RestClient to perform common error * handling and checking and resolve promises according to generic types * @export * @class NVRestClient * @extends {RestClient} */ export declare class NVRestClient extends RestClient { /** * Construct zosmf rest client to use content decoding * @param mSession The session object to use */ constructor(mSession: AbstractSession); /** * Use the Brightside logger instead of the imperative logger * @type {Logger} */ get log(): Logger; /** * Process an error encountered in the rest client * @param {IImperativeError} original - the original error automatically built by the abstract rest client * @returns {IImperativeError} - the processed error with details added * @memberof NVRestClient */ protected processError(original: IImperativeError): IImperativeError; }