1 | import { EnvFile } from "./config";
|
2 | /**
|
3 | * If the user has specified any `envFile` options,
|
4 | * we need to read each file from disk and parse it's data.
|
5 | * Finally we save the results on the incoming config object
|
6 | */
|
7 | export declare const addEnvFilesToObject: (config: any) => any;
|
8 | /**
|
9 | * Either wrapper to handle the fact that 1 or more of the envFile
|
10 | * options could've resulted in an error.
|
11 | * If that's the case, we want to return a Left that has the report type
|
12 | * `EnvFileOptionError` so that a nice error can be printed
|
13 | */
|
14 | export declare const getEnvFiles: (envFile: EnvFile, globalPrefix: string[], cwd: string) => any;
|
15 | /**
|
16 | * Given a single `envFile` option, try to read & parse
|
17 | * a file from disk.
|
18 | */
|
19 | export declare const getSingleEnvFile: (envFile: EnvFile, globalPrefix: string[], cwd: string) => EnvFile;
|