import { LazyArg } from "@tsplus/stdlib/data/Function"; import { STM } from "@effect/core/stm/STM/definition/base"; /** * Imports a synchronous side-effect into a pure value, translating any * thrown exceptions into typed failed effects. * @tsplus static effect/core/stm/STM.Ops tryCatch * @tsplus location "@effect/core/stm/STM/operations/tryCatch" */ export declare function tryCatch(attempt: LazyArg, onThrow: (u: unknown) => E): STM; //# sourceMappingURL=tryCatch.d.ts.map