type ObjectOrArray = Record | unknown[]; /** * Recursively removes a deeply nested property from an object or array. * * Given a path (as an array of keys), it traverses the object and deletes * the target property when the path is fully resolved. * If any part of the path does not exist, the function does nothing. * * @param obj - The object or array to modify. * @param path - An array of keys representing the path to the property to remove. * @returns This function does not return a value (void). * * @example * ```ts * const data = { a: { b: { c: 1 } } }; * removeDeepProperty(data, ['a', 'b', 'c']); * // { a: { b: {} } } * ``` */ export declare function removeDeepProperty(obj: ObjectOrArray | unknown, [field, ...path]: string[]): void; export {}; //# sourceMappingURL=remove-deep-property.d.ts.map