import { ConfigReaderOptions, RemoteConfigReader } from '../../../models'; export default class SpringCloudConfigReader implements RemoteConfigReader { private cloudConfig; /** * Reads the application's bootstrap configuration file into an object. * * @param {NiceConfigOptions} options The config options that drive behavior here. * @returns {Promise} The bootstrap configuration. */ private getSpringBootstrapConfig; /** * Gets the external configuration from Spring Cloud Config Server. * * @param {ConfigClientOptions} configClientOptions The options to be used for the cloud config client. * @returns {Promise} The Spring Environment Object obtained from the Config Server. */ private getConfigFromServer; invoke: ({ activeProfiles, applicationConfig, defaultConfigPath }: ConfigReaderOptions) => Promise>; }