import { DeepKey, DeepValue } from "@stryke/types"; //#region src/unflatten-object.d.ts /** * Flattens a nested object into a single level object with dot-separated keys. * * @example * ```typescript * const nestedObject = { * a: { * b: { * c: 1 * } * }, * d: [2, 3] * }; * * const flattened = flattenObject(nestedObject); * console.log(flattened); * // Output: * // { * // 'a.b.c': 1, * // 'd.0': 2, * // 'd.1': 3 * // } * ``` * * @param deepKeyObject - The object to flatten. * @returns - The flattened object. */ declare function unflattenObject = Record, TDeepKeyObject extends { [TKey in DeepKey]: DeepValue } = { [TKey in DeepKey]: DeepValue }>(deepKeyObject: TDeepKeyObject): TObject; //#endregion export { unflattenObject }; //# sourceMappingURL=unflatten-object.d.mts.map