/** * Take an object with keys of type `address.street`, `address.city` and * convert it to an object with nested objects like `{ address: { street: ..., city: ... } }` * * Keys here are the header row of an uploaded file. A `__proto__` segment is * skipped rather than written, and every step descends only into objects this * function created (or the file supplied), never into an inherited value, so * `constructor.prototype.x` is just three nested names. * @param flatObj */ export declare function unflattenObject(flatObj: { [key: string]: any; }): { [key: string]: any; }; /** * Parse each cell that holds JSON (`"true"`, `"40"`, `"[1,2]"`) into its value; * anything else is kept as it is. */ export declare function mapJsonParse(obj: Record): Record;