import type { PropertyPath } from '../../../index.js'; import type { AlsoAccept } from '../../../../type/index.js'; export type Nest_ = path extends readonly [] ? acc : path extends readonly [...infer T, infer H] ? H extends string | number | symbol ? Nest_<{ [k in H]: acc; }, T> : never : never; export type Nest = Nest_; export declare function nest>(x: X, path: P): Nest_; //# sourceMappingURL=nest.d.ts.map