/// import ProcessEnv = NodeJS.ProcessEnv; export interface EnvContentParserOptions { /** If true, `parseEnvContent` returns variables defined by `export var=val` expression. * Otherwise it returns `var=val` variables, too. */ exportedOnly: boolean; /** `parseEnvContent` replaces `$PWD` with this value. */ cwd: string; /** If defined, all variables in `predefined` exceeds over ones in the context. * For instance, if a content has a line `var1=10` but `predefined` has `{var1: 20}`, * `var1` will have `20` in the result. */ predefined?: ProcessEnv; } /** * Parse env file's content and return zero or more of extracted variables. */ export declare function parseEnvContent(code: string, options: EnvContentParserOptions): ProcessEnv;