import { STM } from "@effect/core/stm/STM/definition/base";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
/**
 * Extracts the optional value, or returns the given 'orElse'.
 * @tsplus fluent ets/STM someOrElse
 * @tsplus location "@effect/core/stm/STM/operations/someOrElse"
 */
export declare function someOrElse_<R, E, A, B>(self: STM<R, E, Maybe<A>>, orElse: LazyArg<B>): STM<R, E, A | B>;
/**
 * Extracts the optional value, or returns the given 'orElse'.
 * @tsplus static ets/STM/Aspects someOrElse
 * @tsplus pipeable ets/STM someOrElse
 * @tsplus location "@effect/core/stm/STM/operations/someOrElse"
 */
export declare const someOrElse: <B>(orElse: import("@tsplus/stdlib/data/Function").LazyArg<B>) => <R, E, A>(self: import("../definition").STM<R, E, import("@tsplus/stdlib/data/Maybe").Maybe<A>>) => import("../definition").STM<R, E, A | B>;
//# sourceMappingURL=someOrElse.d.ts.map