21 lines
481 B
TypeScript
21 lines
481 B
TypeScript
interface EnvVariables {
|
|
[key: string]: string;
|
|
}
|
|
interface EnvConfig {
|
|
includes: string[];
|
|
variables: EnvVariables;
|
|
}
|
|
interface IProfile {
|
|
includes: string[];
|
|
variables: EnvVariables;
|
|
env?: {
|
|
[key: string]: EnvConfig;
|
|
};
|
|
}
|
|
declare const resolveConfig: (config: any) => any;
|
|
declare const parse: (profilePath: string, profile: IProfile, options?: {
|
|
env: string;
|
|
}, rel?: string) => IProfile;
|
|
|
|
export { type IProfile, parse, resolveConfig };
|