/** * Returns the current organization name. */ export declare function getOrganization(): string; /** * Returns the current project name. Throws an exception if none is registered. */ export declare function getProject(): string; /** * Returns the current stack name. Throws an exception if none is registered. */ export declare function getStack(): string; /** * Returns the root directory of the current Pulumi project. */ export declare function getRootDirectory(): string; /** * Checks if the engine we are connected to is compatible with the passed in version range. If the version is not * compatible with the specified range, an exception is raised. * * @param range * The range to check. The supported syntax for the range is that of * https://pkg.go.dev/github.com/blang/semver#ParseRange. For example ">=3.0.0", or "!3.1.2". Ranges can be AND-ed * together by concatenating with spaces ">=3.5.0 !3.7.7", meaning greater-or-equal to 3.5.0 and not exactly 3.7.7. * Ranges can be OR-ed with the `||` operator: "<3.4.0 || >3.8.0", meaning less-than 3.4.0 or greater-than 3.8.0. */ export declare function requirePulumiVersion(range: string): Promise;