/** * Sets a value at a dot-separated path, creating missing objects along the way. * @example * const root: any = {}; * setObjectPath(root, "a.b.c", 5); * // root.a.b.c === 5 * @example * setObjectPath(root, ["x", "y"], true); * // root.x.y === true */ export declare function set(obj: any, pathValue: string | string[], value: unknown): void; /** * Ensures a default value is set at the path and returns the stored value. * @example * const root: any = { a: { b: { c: [1] } } }; * get(root, "a.b.c", []).unshift(0); * // root.a.b.c === [0, 1] */ export declare function get(obj: any, pathValue: string | string[], defaultValue: T): T;