/** * returns true if the two objects are equal but not the same object. (compares public keys) * @param obj1 * @param obj2 */ export default function equals(obj1: T, obj2: T): boolean; /** * returns true if the two objects are equal but not the same object. (compares public keys) * @param obj1 * @param obj2 * @param forceJSON converts the objects to JSON and compares the two strings. */ export default function equals(obj1: T, obj2: T, forceJSON: boolean): boolean; /** * returns true if the two objects are equal but not the same object. (compares public keys) * @param obj1 * @param obj2 * @param forceJSON converts the objects to JSON and compares the two strings. * @param deep Does a deep compare. forceJSON must be false */ export default function equals(obj1: T, obj2: T, forceJSON: boolean, deep: boolean): boolean;