import { HttpClient } from '@angular/common/http'; import { Environment } from '../interfaces'; /** * This service handles the environment in the ../... This work runtime. * * @export * @class EnvironmentService */ export declare class EnvironmentService { private readonly http; /** * Public getter of the environment. * * @readonly * @type {Environment} * @memberof EnvironmentService */ readonly environment: Environment; /** * Relative path of the environment. * * @private * @memberof EnvironmentService */ private readonly environmentPath; /** * Relative path of the environment in production mode. * * @private * @memberof EnvironmentService */ private readonly environmentProductionPath; /** * Internal, stored environment file. * * @private * @type {Environment} * @memberof EnvironmentService */ private cachedEnvironment; constructor(http: HttpClient); /** * This function loads the environment runtime. This must be a Promise! * * @returns * @memberof EnvironmentService */ loadEnvironment(): Promise; }