interface DeepMergeFunc {
(a: A, b: B): A & B;
(a: A, b: B, c: C): A & B & C;
(a: A, b: B, c: C, d: D): A & B & C & D;
(a: A, b: B, c: C, d: D, e: E): A & B & C & D & E;
(a: A, b: B, c: C, d: D, e: E, f: F): A & B & C & D & E & F;
(...objs: Array>): Record;
}
type MergeOptional = A extends undefined ? B : Exclude;
type ShallowMerge = ({
[K in keyof A]: K extends keyof B ? MergeOptional : A[K];
} & B);
interface ShallowMergeFunc {
(a: A, b: B): ShallowMerge;
(a: A, b: B, c: C): ShallowMerge, C>;
(a: A, b: B, c: C, d: D): ShallowMerge, C>, D>;
(a: A, b: B, c: C, d: D, e: E): ShallowMerge, C>, D>, E>;
(a: A, b: B, c: C, d: D, e: E, f: F): ShallowMerge, C>, D>, E>, F>;
(...objs: Array>): Record;
}
export declare const deepMerge: DeepMergeFunc;
export declare const merge: ShallowMergeFunc;
export {};
//# sourceMappingURL=Merger.d.ts.map