mono/packages/commons/dist/profile.d.ts
2025-02-07 23:42:16 +01:00

20 lines
503 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: Record<string, string>) => Record<string, unknown>;
export declare const parse: (profilePath: string, profile: IProfile, options?: {
env: string;
}, rel?: string) => IProfile;
export {};