/**
 * Set value in object by path
 *
 * @param {Object} object Object to set value to
 * @param {string | string[]} path Path to value
 * @param {any} value Value
 * @param {boolean} [ifNotExists] Will skip setting value if value exists
 */
export declare const set: <TValue>(
  object: Record<string, unknown>,
  path: string | string[],
  value: TValue,
  ifNotExists?: boolean
) => Record<string, unknown>;
