/**
 * @module        shellEnv
 * @description   Shell 配置文件解析与环境变量加载工具
 *
 * @author        eddy
 * @organization  wykj
 * @ownership     wykj/eddy
 *
 * @created       2026-03-29
 * @updated       2026-04-03
 *
 * @role          util
 * @layer         core
 * @boundedContext configuration
 */
export interface RawEnv {
    [key: string]: string;
}
/**
 * Parse a shell conf file (KEY=value / export KEY=value) into a plain object.
 * Does NOT execute the file — only extracts simple assignments.
 */
export declare function parseShellConf(filePath: string): RawEnv;
/**
 * Source a shell file via bash and capture all exported variables.
 * Falls back to regex parsing on bash failure.
 */
export declare function sourceShellConf(filePath: string): RawEnv;
/**
 * Source multiple shell files in a single bash context.
 * Later files can reference variables from earlier ones.
 * Falls back to sourcing each file separately on bash failure.
 */
export declare function sourceCombinedConf(filePaths: string[]): RawEnv;
//# sourceMappingURL=shellEnv.d.ts.map