import { Method } from "@raccoons-co/genera";
/**
 * The user environment variable.
 */
export default class EnvironmentVariable {
    /**
     * Returns environment variable decorator factory instance.
     *
     * @param name - the name of the environment variable
     * @returns object - the decorator factory instance
     */
    static of(name: string): EnvironmentVariableDecoratorFactory;
}
interface EnvironmentVariableDecoratorFactory {
    /**
     * Returns decorator that replaces initial field value with value of user environment variable if defined
     * otherwise keeps initialized value.
     */
    orElseInitial(): Method;
    /**
     * Returns decorator that replaces initial field value with value of user environment variable if defined
     * otherwise throws `NullPointerException`.
     */
    orElseThrow(): Method;
}
export {};
