export declare function extend(source1: T, source2: U): T & U;