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