import { Effect } from "@effect/core/io/Effect/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
/**
 * Executes this effect and returns its value, if it succeeds, but otherwise
 * executes the specified effect.
 * @tsplus operator ets/Effect |
 * @tsplus fluent ets/Effect orElse
 * @tsplus location "@effect/core/io/Effect/operations/orElse"
 */
export declare function orElse_<R, E, A, R2, E2, A2>(self: Effect<R, E, A>, that: LazyArg<Effect<R2, E2, A2>>, __tsplusTrace?: string): Effect<R | R2, E2, A | A2>;
/**
 * @tsplus static ets/Effect/Aspects orElse
 * @tsplus pipeable ets/Effect orElse
 * @tsplus location "@effect/core/io/Effect/operations/orElse"
 */
export declare const orElse: <R2, E2, A2>(that: import("@tsplus/stdlib/data/Function").LazyArg<import("../definition").Effect<R2, E2, A2>>, __tsplusTrace?: string) => <R, E, A>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect<R | R2, E2, A | A2>;
//# sourceMappingURL=orElse.d.ts.map