/** * Adds a new property to an object with a specified key and value. * @template T - The type of the object. * @param {T} obj - The object to add the property to. * @param {string} key - The key of the new property. * @param {PropertyDescriptor} descriptor - The property descriptor. * @returns {T & Record} The object with the added property. * @template K - The key type. * @template V - The value type. */ export declare const addProperty: (obj: T, key: K, descriptor: { get: () => V; }) => T & Record;