import type { Effect, RIO } from "./effect.js"; /** * 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`. */ export declare function fold_(value: Effect, failure: (failure: E) => A2, success: (a: A) => A3, __trace?: string): Effect; /** * 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`. * * @ets_data_first fold_ */ export declare function fold(failure: (failure: E) => A2, success: (a: A) => A3, __trace?: string): (value: Effect) => RIO; //# sourceMappingURL=fold.d.ts.map