import { type DeepPartial } from "./deep-merge.js"; /** * Merge per-environment config maps. Useful when composing a child * monorepo package's `perEnv` on top of a shared base, outside of the * `extends` field on {@link defineSettings}. * * Semantics: for every env key found across `base` and `overrides`, * deepMerge the branches in argument order. Branches that exist only in * one of the maps are passed through unchanged. * * @example * ```ts * const merged = mergePerEnv(basePerEnv, { * local: { bucket: 'local-content' }, * prod: { bucket: 'prod-content' }, * }); * ``` */ export declare function mergePerEnv(base: Record>, ...overrides: Array>>): Record>; //# sourceMappingURL=merge-per-env.d.ts.map