import { concreteFiberRef } from "@effect/core/io/FiberRef/operations/_internal/FiberRefInternal";
/**
 * Constructs a patch describing the updates to a value from an old value and
 * a new value.
 *
 * @tsplus fluent ets/FiberRef diff
 */

export function diff_(self, oldValue, newValue) {
  void 0;
  return self._diff(oldValue, newValue);
}
/**
 * Constructs a patch describing the updates to a value from an old value and
 * a new value.
 *
 * @tsplus static ets/FiberRef/Aspects diff
 */

export const diff = (oldValue, newValue) => self => diff_(self, oldValue, newValue);
//# sourceMappingURL=diff.mjs.map