import * as tsplus_module_1 from "@effect/core/stream/Sink/operations/contramapChunks";
import * as tsplus_module_2 from "@effect/core/stream/Sink/operations/map";
/**
 * Transforms both input chunks and result of this sink using the provided
 * functions.
 *
 * @tsplus fluent ets/Sink dimapChunks
 */

export function dimapChunks_(self, f, g, __tsplusTrace) {
  return tsplus_module_2.map_(tsplus_module_1.contramapChunks_(self, f, __tsplusTrace), g, __tsplusTrace);
}
/**
 * Transforms both input chunks and result of this sink using the provided
 * functions.
 *
 * @tsplus static ets/Sink/Aspects dimapChunks
 */

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