import { STM } from "@effect/core/stm/STM/definition/base";
import { LazyArg } from "@tsplus/stdlib/data/Function";
/**
 * Tries this effect first, and if it fails or retries, succeeds with the
 * specified value.
 * @tsplus fluent ets/STM orElseSucceed
 * @tsplus location "@effect/core/stm/STM/operations/orElseSucceed"
 */
export declare function orElseSucceed_<R, E, A, A1>(self: STM<R, E, A>, a: LazyArg<A1>): STM<R, E, A | A1>;
/**
 * Tries this effect first, and if it fails or retries, succeeds with the
 * specified value.
 * @tsplus static ets/STM/Aspects orElseSucceed
 * @tsplus pipeable ets/STM orElseSucceed
 * @tsplus location "@effect/core/stm/STM/operations/orElseSucceed"
 */
export declare const orElseSucceed: <A1>(a: import("@tsplus/stdlib/data/Function").LazyArg<A1>) => <R, E, A>(self: import("../definition").STM<R, E, A>) => import("../definition").STM<R, E, A | A1>;
//# sourceMappingURL=orElseSucceed.d.ts.map