export declare function updateObject(oldObject: T, newValues: U): T; export declare function updateObjectAtKey(oldObject: { [key: string]: T; }, entry: T, key: string): { [key: string]: T; };