import { STM } from "@effect/core/stm/STM/definition/base";
import { LazyArg, Lazy } from "@tsplus/stdlib/data/Function";
/**
 * Tries this effect first, and if it fails or retries, tries the other
 * effect.
 * @tsplus operator ets/STM |
 * @tsplus fluent ets/STM orElse
 * @tsplus location "@effect/core/stm/STM/operations/orElse"
 */
export declare function orElse_<R, E, A, R1, E1, A1>(self: STM<R, E, A>, that: LazyArg<STM<R1, E1, A1>>): STM<R | R1, E | E1, A | A1>;
/**
 * Tries this effect first, and if it fails or retries, tries the other
 * effect.
 * @tsplus static ets/STM/Aspects orElse
 * @tsplus pipeable ets/STM orElse
 * @tsplus location "@effect/core/stm/STM/operations/orElse"
 */
export declare const orElse: <R1, E1, A1>(that: import("@tsplus/stdlib/data/Function").LazyArg<import("../definition").STM<R1, E1, A1>>) => <R, E, A>(self: import("../definition").STM<R, E, A>) => import("../definition").STM<R | R1, E | E1, A | A1>;
//# sourceMappingURL=orElse.d.ts.map