import type { Extension } from 'vscode'; import type { CheckEnvironmentOptions, Environment, EnvironmentCheckResult, ResultMessage, EndpointResults, Endpoint } from '../types'; /** * Return the environment. * * @param extensions - installed extensions passed from vscode * @returns environment, including ide, versions, ... */ export declare function getEnvironment(extensions?: readonly Extension[]): Promise<{ environment: Environment; messages: ResultMessage[]; }>; /** * Check a set of endpoints (SAP systems and BAS Destinations) (deep dive into them). * * @param deepDiveEndpoints - endpoints selected for a closer look * @param endpoints - array of all endpoints found * @param credentialCallback - callback in case user credentials are required to query a destination * @returns - messages and the map of detailed endpoints check results */ export declare function getEndpointsResults(deepDiveEndpoints: Set, endpoints: Endpoint[], credentialCallback?: (destination: Endpoint) => Promise<{ username: string; password: string; }>): Promise<{ messages: ResultMessage[]; systemResults: { [dest: string]: EndpointResults; }; }>; /** * Check environment includes process.env, list of SAP systems or BAS Destinations and their details. * * @param options - see type CheckEnvironmentOptions, includes endpoint for deep dive, workspace roots, ... * @returns the result, currently as JSON */ export declare function checkEnvironment(options?: CheckEnvironmentOptions): Promise; //# sourceMappingURL=environment.d.ts.map