import { ICommandOptionDefinition, Session } from "@zowe/imperative"; /** * Connection details for the Endevor Web Services call behind `histogram --listing`. * * TUNER-034: the MAT server's footprint response used to dictate the Endevor host/port/protocol * that received the user's mainframe Basic-auth credentials -- a compromised or MITM'd MAT server * could redirect that request (and the credentials) anywhere. Every option here is sourced only * from this command's own CLI arguments (or the environment variables Imperative derives from * them, e.g. ZOWE_OPT_ENDEVOR_HOST) -- never from a server response, and never from a Zowe profile, * since Endevor connection configuration is owned by a separate team. */ export declare class EndevorSession { static ENDEVOR_CONNECTION_OPTION_GROUP: string; static ENDEVOR_HOST: ICommandOptionDefinition; static ENDEVOR_PORT: ICommandOptionDefinition; static ENDEVOR_BASE_PATH: ICommandOptionDefinition; static ENDEVOR_REJECT_UNAUTHORIZED: ICommandOptionDefinition; static ENDEVOR_REUSE_MAT_CREDENTIALS: ICommandOptionDefinition; static ENDEVOR_USER: ICommandOptionDefinition; static ENDEVOR_PASSWORD: ICommandOptionDefinition; static ENDEVOR_CONNECTION_OPTIONS: ICommandOptionDefinition[]; /** * Builds the Endevor session purely from locally-sourced values -- there is no parameter * through which a server response could reach this call. */ static createSessionForListing(args: { endevorHost: string; endevorPort: number; user: string; password: string; rejectUnauthorized?: boolean; }): Session; }