import type * as C from "./_internal/cause.js"; import * as T from "./_internal/effect.js"; import * as Exit from "./core.js"; /** * Folds over the value or cause. */ export declare function foldM(failed: (e: C.Cause) => T.Effect, succeed: (a: A) => T.Effect): (exit: Exit.Exit) => T.Effect; /** * Folds over the value or cause. */ export declare function foldM_(exit: Exit.Exit, failed: (e: C.Cause) => T.Effect, succeed: (a: A) => T.Effect): T.Effect; /** * Applies the function `f` to the successful result of the `Exit` and * returns the result in a new `Exit`. */ export declare function forEach(f: (a: A2) => T.Effect): (exit: Exit.Exit) => T.Effect>; /** * Applies the function `f` to the successful result of the `Exit` and * returns the result in a new `Exit`. */ export declare function forEach_(exit: Exit.Exit, f: (a: A2) => T.Effect): T.Effect>; export { Exit, succeed, Success, Failure, halt, ap, as, chain, collectAll, flatten, fold, interrupt, interrupted, map, mapErrorCause, zipWith, bimap, chain_, collectAllPar, die, exists, fail, fold_, fromEither, fromOption, getOrElse, mapError, map_, orElseFail, succeeded, toEither, unit, zip, zipLeft, zipPar, zipParLeft, zipParRight, zipRight, zipRight_, zipWith_ } from "./core.js"; //# sourceMappingURL=api.d.ts.map