type CSSVarFunction = `var(--${string})`; type Contract = { [key: string]: CSSVarFunction | null | Contract; }; type Primitive$1 = string | boolean | number | null | undefined; type MapLeafNodes = { [Prop in keyof Obj]: Obj[Prop] extends Primitive$1 ? LeafType : Obj[Prop] extends Record ? MapLeafNodes : never; }; declare function getVarName(variable: string): string; declare function get(obj: any, path: Array): any; type Primitive = string | number | null | undefined; type Walkable = { [Key in string | number]: Primitive | Walkable; }; declare function walkObject(obj: T, fn: (value: Primitive, path: Array) => MapTo, path?: Array): MapLeafNodes; export { type CSSVarFunction, type Contract, type MapLeafNodes, get, getVarName, walkObject };