/** * Config is a bag of related configuration state. Each bag contains any number of configuration variables, indexed by * simple keys, and each has a name that uniquely identifies it; two bags with different names do not share values for * variables that otherwise share the same key. For example, a bag whose name is `pulumi:foo`, with keys `a`, `b`, * and `c`, is entirely separate from a bag whose name is `pulumi:bar` with the same simple key names. Each key has a * fully qualified names, such as `pulumi:foo:a`, ..., and `pulumi:bar:a`, respectively. */ export declare class Config { /** * name is the configuration bag's logical name and uniquely identifies it. The default is the name of the current * project. */ readonly name: string; constructor(name: string); /** * get loads an optional configuration value by its key, or undefined if it doesn't exist. * * @param key The key to lookup. * @param opts An options bag to constrain legal values. */ get(key: string): string | undefined; /** * fullKey turns a simple configuration key into a fully resolved one, by prepending the bag's name. * * @param key The key to lookup. */ private fullKey; }