import { PlainObject, Simplify, UnionToIntersection } from "../models.mjs"; //#region src/value/unsmush.d.ts /** * Thanks, type-fest! */ type KeysOfUnion = keyof UnionToIntersection : never>; /** * An unsmushed object, with all dot notation keys turned into nested keys */ type Unsmushed = Simplify]: Value[UnionKey] }, `${string}.${string}`>>; /** * Unsmush a smushed object _(turning dot notation keys into nested keys)_ * * @param value Object to unsmush * @returns Unsmushed object with nested keys */ declare function unsmush(value: Value): Unsmushed; //#endregion export { Unsmushed, unsmush };