import { Many, TPath } from './internals/types'; /** * 删除对象路径的属性。 * * @alias module:Object.unset * @since 1.16.0 * @param {*} object 要修改的对象。 * @param {string | number | symbol | Array} path 属性路径字符串或数组。 * @returns {boolean} 如果删除成功返回`true`,否则返回`false`。 * @example * const obj = { a: [{ b: { c: 1 } }] }; * * unset(obj, 'a[0].b.c'); // true * console.log(obj); // { a: [{ b: {} }] } * * unset(obj, ['a', '0', 'b', 'c']); // true * console.log(obj); // { a: [{ b: {} }] } */ declare function unset(object: any, path: Many): boolean; export default unset;