import { Exit } from "@effect/core/io/Exit/definition";
import { Cause } from "@effect/core/io/Cause/definition";
/**
 * Retrieves the `A` if succeeded, or else returns the specified default `A`.
 * @tsplus fluent ets/Exit getOrElse
 * @tsplus location "@effect/core/io/Exit/operations/getOrElse"
 */
export declare function getOrElse_<E, A>(self: Exit<E, A>, orElse: (cause: Cause<E>) => A): A;
/**
 * Retrieves the `A` if succeeded, or else returns the specified default `A`.
 * @tsplus static ets/Exit/Aspects getOrElse
 * @tsplus pipeable ets/Exit getOrElse
 * @tsplus location "@effect/core/io/Exit/operations/getOrElse"
 */
export declare const getOrElse: <E, A>(orElse: (cause: import("../../Cause").Cause<E>) => A) => (self: import("../definition").Exit<E, A>) => A;
//# sourceMappingURL=getOrElse.d.ts.map