import { STM } from "@effect/core/stm/STM/definition/base";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
import { NoSuchElement } from "@tsplus/stdlib/exceptions";
/**
 * Extracts the optional value, or fails with a `NoSuchElement` exception.
 * @tsplus getter ets/STM someOrFailException
 * @tsplus location "@effect/core/stm/STM/operations/someOrFailException"
 */
export declare function someOrFailException<R, E, A>(self: STM<R, E, Maybe<A>>): STM<R, E | NoSuchElement, A>;
//# sourceMappingURL=someOrFailException.d.ts.map