import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
/**
 * Succeeds with the specified value if this one fails with a typed error.
 * @tsplus fluent ets/Stream orElseSucceed
 * @tsplus location "@effect/core/stream/Stream/operations/orElseSucceed"
 */
export declare function orElseSucceed_<R, E, A, A2>(self: Stream<R, E, A>, a: LazyArg<A2>, __tsplusTrace?: string): Stream<R, never, A | A2>;
/**
 * Succeeds with the specified value if this one fails with a typed error.
 * @tsplus static ets/Stream/Aspects orElseSucceed
 * @tsplus pipeable ets/Stream orElseSucceed
 * @tsplus location "@effect/core/stream/Stream/operations/orElseSucceed"
 */
export declare const orElseSucceed: <A2>(a: import("@tsplus/stdlib/data/Function").LazyArg<A2>, __tsplusTrace?: string) => <R, E, A>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R, never, A | A2>;
//# sourceMappingURL=orElseSucceed.d.ts.map