import { Sink } from "@effect/core/stream/Sink/definition/base";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
import { Effect } from "@effect/core/io/Effect/definition";
import { Channel } from "@effect/core/stream/Channel/definition/base";
/**
 * Effectfully transforms this sink's input chunks. `f` must preserve
 * chunking-invariance.
 * @tsplus fluent ets/Sink contramapChunksEffect
 * @tsplus location "@effect/core/stream/Sink/operations/contramapChunksEffect"
 */
export declare function contramapChunksEffect_<R, E, R2, E2, In, In1, L, Z>(self: Sink<R, E, In, L, Z>, f: (input: Chunk<In1>) => Effect<R2, E2, Chunk<In>>, __tsplusTrace?: string): Sink<R | R2, E | E2, In1, L, Z>;
/**
 * Effectfully transforms this sink's input chunks. `f` must preserve
 * chunking-invariance.
 * @tsplus static ets/Sink/Aspects contramapChunksEffect
 * @tsplus pipeable ets/Sink contramapChunksEffect
 * @tsplus location "@effect/core/stream/Sink/operations/contramapChunksEffect"
 */
export declare const contramapChunksEffect: <R2, E2, In, In1>(f: (input: import("@tsplus/stdlib/collections/Chunk").Chunk<In1>) => import("../../../io/Effect").Effect<R2, E2, import("@tsplus/stdlib/collections/Chunk").Chunk<In>>, __tsplusTrace?: string) => <R, E, L, Z>(self: import("../definition").Sink<R, E, In, L, Z>) => import("../definition").Sink<R | R2, E | E2, In1, L, Z>;
//# sourceMappingURL=contramapChunksEffect.d.ts.map