import type { Managed } from "../managed.js"; /** * Recovers from errors by accepting one effect to execute for the case of an * error, and one effect to execute for the case of success. * * @ets_data_first foldM_ */ export declare function foldM(failure: (e: E) => Managed, success: (a: A) => Managed, __trace?: string): (self: Managed) => Managed; /** * Recovers from errors by accepting one effect to execute for the case of an * error, and one effect to execute for the case of success. */ export declare function foldM_(self: Managed, failure: (e: E) => Managed, success: (a: A) => Managed, __trace?: string): Managed; //# sourceMappingURL=foldM.d.ts.map