export interface Merge { (a: T1, b: T2): T1 & T2; (a: T1, b: T2, c: T3): T1 & T2 & T3; (a: T1): { (b: T2, c: T3): T1 & T2 & T3; (b: T2): T1 & T2; }; (...args: T[]): T; } /** * Create a new object with the own properties of the first object merged with * the own properties of the others objects. If a key exists in several objects, * the value from the last object will be used. * * @param {...Object} sources * @return {Object} * @example * * merge({ 'name': 'fred', 'age': 10 }, { 'age': 40 }); //=> { 'name': 'fred', 'age': 40 } */ declare const _default: Merge; export default _default;