import { Effect } from "@effect/core/io/Effect/definition"; /** * Folds over the failure value or the success value to yield an effect that * does not fail, but succeeds with the value returned by the left or right * function passed to `fold`. * @tsplus static effect/core/io/Effect.Aspects fold * @tsplus pipeable effect/core/io/Effect fold * @tsplus location "@effect/core/io/Effect/operations/fold" */ export declare function fold(failure: (e: E) => A2, success: (a: A) => A3): (self: import("../definition").Effect) => import("../definition").Effect; //# sourceMappingURL=fold.d.ts.map