import type { Predicate } from "effect"; import * as Effect from "effect/Effect"; type NestedObject = { [key: string]: T | NestedObject; }; export declare const mapLeaves: (obj: NestedObject, leafRefinement: Predicate.Refinement, f: (value: T) => U) => NestedObject; export declare const forEachBranchLeaves: (obj: NestedObject, leafRefinement: Predicate.Refinement, f: (branchLeaves: { path: string[]; values: Record; }) => Effect.Effect) => Effect.Effect; export declare const setNestedProperty: (obj: T, path: PropertyKey[], value: any) => T; export {}; //# sourceMappingURL=utils.d.ts.map