/** * Author: * xtbj@cn.ibm.com */ import { AbstractSession, IProfile, IProfileSaved, IProfileLoaded } from "@zowe/imperative"; export declare class NVCoreUtil { static saveProfile(profileName: string, nvProfile: IProfile): Promise; /** * Loads default z/OSMF profile. The profile must have already been * created using Zowe CLI, and not rely on base profiles * * @param {string} profileType - The name of the profile type * @param {boolean} mergeWithBase - Whether or not to merge with the base profile * @returns {IProfile} - The default profile (or merged profile, if requested) */ static getDefaultProfile(): Promise; /** * Handle base path to connect to rest service from APIML * @returns {string} - Returns the API URI */ static handleBasePath(session: AbstractSession): string; /** * Retrieves the Zowe CLI home directory. In the situation Imperative has * not initialized it we mock a default value. * @returns {string} - Returns the Zowe home directory */ private static getZoweDir; }