import { ICommandArguments, ICommandOptionDefinition, ISession } from "@zowe/imperative"; /** * Utility Methods for Brightside * @export */ export declare class NVSessionUtil { static NV_CONNECTION_OPTION_GROUP: string; /** * Option used in profile creation and commands for hostname for NetView */ static NV_OPTION_HOST: ICommandOptionDefinition; /** * Option used in profile creation and commands for port for NetView */ static NV_OPTION_PORT: ICommandOptionDefinition; /** * Option used in profile creation and commands for username / ID for NetView */ static NV_OPTION_USER: ICommandOptionDefinition; /** * Option used in profile creation and commands for password/passphrase for NetView */ static NV_OPTION_PASSWORD: ICommandOptionDefinition; /** * Option used in profile creation and commands for rejectUnauthorized setting */ static NV_OPTION_REJECT_UNAUTHORIZED: ICommandOptionDefinition; /** * Option used in profile creation and commands for certificate file setting */ /** * Option used in profile creation and commands for certificate file setting */ /** * Option used in profile creation and commands for protocol for NetView */ /** * Option used in profile creation and commands for token type for NetView */ static NV_TOKEN_TYPE: ICommandOptionDefinition; /** * Option used in profile creation and commands for token value for NetView */ static NV_TOKEN_VALUE: ICommandOptionDefinition; /** * Option used in profile creation and commands for base path setting for connecting to Zowe APIML */ static NV_BASE_PATH: ICommandOptionDefinition; /** * Option used in profile creation and commands for base path setting for connecting to Zowe APIML */ static NV_AT_LOCAL_FILE_PATH: ICommandOptionDefinition; /** * Options related to connecting to NetView * These options can be filled in if the user creates a profile */ static NV_CONNECTION_OPTIONS: ICommandOptionDefinition[]; /** * Given a NetView profile, create a REST Client Session. * @static * @param {IProfile} profile - The NetView profile contents * @returns {Session} - A session for usage in the NetView REST Client */ static createSessCfgFromArgs(args: ICommandArguments): ISession; /** * Given command line arguments, create an session configuration object. * @param {IProfile} args - The arguments specified by the user * @returns {ISession} - A session configuration to be used for a session. */ /** * Given command line arguments, create a REST Client Session. * @static * @param {IProfile} args - The arguments specified by the user * @returns {Session} - A session for usage in the NetView REST Client */ private static get log(); }