/** * @name objectHash * @namespace shared.object * @type Function * @platform js * @platform node * @status stable * * This function allows you to get back an integrity hash passed object. * * @param {any} obj The object to hash * @param {IObjectHashSettings} [settings={}] Some settings to configure your hash generation process * @return {String} The calculated folder hash * * @snippet __objectHash($1) * * @todo tests * * @example js * import { __objectHash } from '@lotsof/sugar/object'; * __objectHash('my/cool/folder'); // => YZOrKDx9LCLd8X39PoFTflXGpRU=, * * @see https://www.npmjs.com/package/hash-sum * @since 1.0.0 * @author Olivier Bossel (https://lotsof.dev) */ export default function objectHash(obj: any): string;