@altostra/core
Version:
Core library for shared types and logic
17 lines (16 loc) • 953 B
TypeScript
import type { NonEmptyString } from "../../common/CustomTypes/NonEmptyString";
import type { BlueprintHelper } from "./BlueprintHelper";
import type { Parameterized, ParameterizedValue } from "./Parameters";
export declare type ParameterizedBlueprintEnvironment = Parameterized<Record<string, string>>;
export declare class BluePrintGlobalVariablesHelper {
#private;
constructor(blueprint: BlueprintHelper);
add(name: string, value: string, parameter?: NonEmptyString): void;
remove(name: string): void;
getParametrizedValueByName(envVariableName: string): ParameterizedValue<string>;
getParameterizedBlueprintEnvironment(): ParameterizedBlueprintEnvironment;
updateFromParameterizedBlueprintEnvironment(environment: ParameterizedBlueprintEnvironment): void;
private get _globalEnvironments();
[Symbol.iterator](): Generator<[string, string], void, unknown>;
isGlobalEnvironmentVariable(name: string): boolean;
}