/** 配置信息 */
export declare let config: Record<string, any>;
/**
 * 解析环境变量;
 * 同时读取多个环境变量文件: .env, .env.local, .env.[development|test|production];
 * 根据运行环境变量 `NODE_ENV` 读取不同的环境变量文件;
 * 同时支持手动通过运行命令指定 `NODE_ENV` 值, 不指定默认为: production
 *
 * ```bash
 * node test.js --NODE_ENV development
 * // or
 * node test.js -n development
 * ```
 *
 * ```js
 * // test.js
 * parseEnvs();
 * ```
 *
 * @returns
 */
export declare function parseEnv(envFiles?: string[]): Record<string, string>;
/**
 * 解析配置文件并合并内容。
 *
 * @param files - 要解析的配置文件列表，默认为 ["config.json", "config.local.json"]。
 * @param runParseEnv - 是否运行环境变量解析，默认为 true。
 * @returns 合并后的配置对象。
 *
 * 该函数会根据当前环境加载相应的配置文件，并将其内容合并到最终的配置对象中。
 * 如果指定的文件列表中不包含环境特定的配置文件，则会自动添加。
 */
export declare function parseConfig(files?: string[], runParseEnv?: boolean): Record<string, any>;
