import { Exit } from "@effect/core/io/Exit/definition";
import { Cause } from "@effect/core/io/Cause/definition";
/**
 * Folds over the value or cause.
 * @tsplus fluent ets/Exit fold
 * @tsplus location "@effect/core/io/Exit/operations/fold"
 */
export declare function fold_<E, A, Z>(self: Exit<E, A>, failed: (cause: Cause<E>) => Z, completed: (a: A) => Z): Z;
/**
 * Folds over the value or cause.
 * @tsplus static ets/Exit/Aspects fold
 * @tsplus pipeable ets/Exit fold
 * @tsplus location "@effect/core/io/Exit/operations/fold"
 */
export declare const fold: <E, A, Z>(failed: (cause: import("../../Cause").Cause<E>) => Z, completed: (a: A) => Z) => (self: import("../definition").Exit<E, A>) => Z;
//# sourceMappingURL=fold.d.ts.map