import { LazyArg } from "@tsplus/stdlib/data/Function"; import { STM } from "@effect/core/stm/STM/definition/base"; import { Maybe } from "@tsplus/stdlib/data/Maybe/definition"; /** * Extracts the optional value, or fails with the given error 'e'. * @tsplus static effect/core/stm/STM.Aspects someOrFail * @tsplus pipeable effect/core/stm/STM someOrFail * @tsplus location "@effect/core/stm/STM/operations/someOrFail" */ export declare function someOrFail(orFail: LazyArg): (self: import("../definition").STM>) => import("../definition").STM; //# sourceMappingURL=someOrFail.d.ts.map