/** * Nest an object that have been nested * * Ex: * * Input * ``` * { * foo: 1, * "bar.xyz": 2, * "bar.abc.def": 3, * "ghi.[0].jkl": 4, * } * ``` * * Output * ``` * { * foo: 1, * bar: { * xyz: 2, * abc: { * def: 3, * } * }, * ghi: [ * { * jkl: 4, * } * ] * } * ``` */ export declare const nest: (obj?: Record | undefined) => {};