import * as tsplus_module_1 from "@effect/core/stream/Sink/operations/contramapEffect";
import * as tsplus_module_2 from "@effect/core/stream/Sink/operations/map";
/**
 * Effectfully transforms both inputs and result of this sink using the
 * provided functions.
 *
 * @tsplus fluent ets/Sink dimapEffect
 */

export function dimapEffect_(self, f, g, __tsplusTrace) {
  return tsplus_module_2.map_(tsplus_module_1.contramapEffect_(self, f, __tsplusTrace), g, __tsplusTrace);
}
/**
 * Effectfully transforms both inputs and result of this sink using the
 * provided functions.
 *
 * @tsplus static ets/Sink/Aspects dimapEffect
 */

export const dimapEffect = (f, g, __tsplusTrace) => self => dimapEffect_(self, f, g, __tsplusTrace);
//# sourceMappingURL=dimapEffect.mjs.map