import { FiberId } from "@effect/core/io/FiberId/definition"; import { Cause } from "@effect/core/io/Cause/definition"; import { Eval } from "@tsplus/stdlib/io/Eval/definition"; /** * Folds over the cases of this cause with the specified functions. * @tsplus static effect/core/io/Cause.Aspects fold * @tsplus pipeable effect/core/io/Cause fold * @tsplus location "@effect/core/io/Cause/operations/fold" */ export declare function fold(onEmptyCause: Z, onFailCause: (e: E) => Z, onDieCause: (e: unknown) => Z, onInterruptCause: (fiberId: FiberId) => Z, onThenCause: (x: Z, y: Z) => Z, onBothCause: (x: Z, y: Z) => Z, onStacklessCause: (z: Z, stackless: boolean) => Z): (self: Cause) => Z; //# sourceMappingURL=fold.d.ts.map