import { type DeepMapObjectLeafs } from '../types'; /** * This allows you to map the leaf nodes of an object, and you're provided the path to that leaf as well as the value as parameters to your mapper function. * This function was build to support mapping theme values to their respective CSS variable identifiers. * For example: * ```ts * mapLeafsOfObject({ * one: { * two: 4 * } * }, (path, value) => value + 7) * ``` * Results in: * ``` * { * one: { * two: 11 * } * } * ``` */ export declare function mapLeafsOfObject, Value>(object: Obj, mapper: (pathToLeaf: string[], value: unknown) => Value): DeepMapObjectLeafs;