// Definitions by: Peter Safranek declare function extend(obj1: object, ...objn: any[]): object; declare function extend(deep: boolean, obj1: object, ...objn: any[]): object; export = extend;