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 ets/STM/Ops tryCatch
 * @tsplus location "@effect/core/stm/STM/operations/tryCatch"
 */
export declare function tryCatch<E, A>(attempt: LazyArg<A>, onThrow: (u: unknown) => E): STM<never, E, A>;
//# sourceMappingURL=tryCatch.d.ts.map