import { LazyArg } from "@tsplus/stdlib/data/Function"; import { Stream } from "@effect/core/stream/Stream/definition"; import { Maybe } from "@tsplus/stdlib/data/Maybe/definition"; /** * Switches to the provided stream in case this one fails with the `None` * value. * * See also `Stream.catchAll`. * @tsplus static effect/core/stream/Stream.Aspects orElseOptional * @tsplus pipeable effect/core/stream/Stream orElseOptional * @tsplus location "@effect/core/stream/Stream/operations/orElseOptional" */ export declare function orElseOptional(that: LazyArg, A2>>): (self: import("../definition").Stream, A>) => import("../definition").Stream, A2 | A>; //# sourceMappingURL=orElseOptional.d.ts.map