export interface Defaults { (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; } /** * Assigns own and inherited enumerable string keyed properties of source objects to the destination object for * all destination properties that resolve to undefined. Source objects are applied from left to right. * * Once a property is set, additional values of the same property are ignored. * * @param {...Object} sources * @return {Object} * @example * * defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' }); //=> { 'user': 'barney', 'age': 36 } */ export declare const defaults: Defaults; export default defaults;