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