mono/packages/commons/dist/profile.d.cts
2025-01-28 13:42:27 +01:00

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 };