import { Effect } from "@effect/core/io/Effect/definition"; import { Cause } from "@effect/core/io/Cause/definition"; import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition"; import { Take } from "@effect/core/stream/Take/definition"; /** * Effectful version of `Take.fold`. * * Folds over the failure cause, success value and end-of-stream marker to * yield an effect. * @tsplus static effect/core/stream/Take.Aspects foldEffect * @tsplus pipeable effect/core/stream/Take foldEffect * @tsplus location "@effect/core/stream/Take/operations/foldEffect" */ export declare function foldEffect(end: Effect, error: (cause: Cause) => Effect, value: (chunk: Chunk) => Effect): (self: Take) => Effect; //# sourceMappingURL=foldEffect.d.ts.map