import { Fiber } from "@effect/core/io/Fiber/definition";
/**
 * Returns a fiber that prefers `this` fiber, but falls back to the `that` one
 * when `this` one fails. Interrupting the returned fiber will interrupt both
 * fibers, sequentially, from left to right.
 * @tsplus operator ets/Fiber |
 * @tsplus operator ets/RuntimeFiber |
 * @tsplus fluent ets/Fiber orElse
 * @tsplus fluent ets/RuntimeFiber orElse
 * @tsplus location "@effect/core/io/Fiber/operations/orElse"
 */
export declare function orElse_<E, E1, A, A1>(self: Fiber<E, A>, that: Fiber<E1, A1>): Fiber<E | E1, A | A1>;
/**
 * Returns a fiber that prefers `this` fiber, but falls back to the `that` one
 * when `this` one fails. Interrupting the returned fiber will interrupt both
 * fibers, sequentially, from left to right.
 * @tsplus static ets/Fiber/Aspects orElse
 * @tsplus pipeable ets/Fiber orElse
 * @tsplus location "@effect/core/io/Fiber/operations/orElse"
 */
export declare const orElse: <E1, A1>(that: import("@effect/core/io/Fiber/definition").Fiber<E1, A1>) => <E, A>(self: import("@effect/core/io/Fiber/definition").Fiber<E, A>) => import("@effect/core/io/Fiber/definition").Fiber<E | E1, A | A1>;
//# sourceMappingURL=orElse.d.ts.map