declare global {
    interface Window {
        __ENVIRONMENT__: string | undefined;
    }
}
/**
 * Reads environment variables starting with `REACT_APP_` from a global variable
 * at runtime and falls back to `process.env` build time variables.
 *
 * @param name - The name of the environment variable, should start with
 *               `REACT_APP_`.
 */
export declare function getEnvironment(name: string): string | undefined;
/**
 * Reads environment variables starting with `REACT_APP_` from a global variable
 * at runtime and falls back to `process.env` build time variables.
 *
 * @param name - The name of the environment variable, should start with
 *               `REACT_APP_`.
 * @param defaultValue - The default value to return if the environment variable
 *                       is not provided.
 */
export declare function getEnvironment(name: string, defaultValue: string): string;
