/** * Sets the value at path of object. Creates intermediate objects as needed. * Returns a new object (immutable). * * @param obj - The object to modify * @param path - The path of the property to set (string with dots or array) * @param value - The value to set * @returns New object with the value set * * @example * setFast({ a: { b: 1 } }, 'a.c', 2) // { a: { b: 1, c: 2 } } * setFast({}, 'a.b.c', 1) // { a: { b: { c: 1 } } } */ export declare function setFast(obj: T, path: string | readonly (string | number)[], value: unknown): T; //# sourceMappingURL=set.d.ts.map