/** * Recursively deletes properties from an object or array that have a * specific value. * * Hub commonly applies migrations to entities on load. During those * migrations, often we want to delete properties to clean things up. * However, during the save process, we typically fetch the entity * from it's backing store and spread the migrated entity over the top of * the fetched entity. This results in the deleted props being re-added. * * To avoid this, instead of deleting the props in the migration, * we can set them to a specific value (e.g. `remove-this-prop`) and then * use this function to remove them, after the merge. * * @param object - The object or array to delete properties from. * @param value - The value to match and delete. * @returns The modified object or array with properties deleted. */ export declare function deepDeletePropByValue(object: any, value: any): any;