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 executes the effect 'orElse'.
 * @tsplus fluent ets/STM someOrElseSTM
 * @tsplus location "@effect/core/stm/STM/operations/someOrElseSTM"
 */
export declare function someOrElseSTM_<R, E, A, R2, E2, B>(self: STM<R, E, Maybe<A>>, orElse: LazyArg<STM<R2, E2, B>>): STM<R | R2, E | E2, A | B>;
/**
 * Extracts the optional value, or executes the effect 'orElse'.
 * @tsplus static ets/STM/Aspects someOrElseSTM
 * @tsplus pipeable ets/STM someOrElseSTM
 * @tsplus location "@effect/core/stm/STM/operations/someOrElseSTM"
 */
export declare const someOrElseSTM: <R2, E2, B>(orElse: import("@tsplus/stdlib/data/Function").LazyArg<import("../definition").STM<R2, E2, B>>) => <R, E, A>(self: import("../definition").STM<R, E, import("@tsplus/stdlib/data/Maybe").Maybe<A>>) => import("../definition").STM<R | R2, E | E2, A | B>;
//# sourceMappingURL=someOrElseSTM.d.ts.map