import { STM } from "@effect/core/stm/STM/definition/base";
import { Either } from "@tsplus/stdlib/data/Either/definition";
/**
 * Converts the failure channel into an `Either`.
 * @tsplus getter ets/STM either
 * @tsplus location "@effect/core/stm/STM/operations/either"
 */
export declare function either<R, E, A>(self: STM<R, E, A>): STM<R, never, Either<E, A>>;
//# sourceMappingURL=either.d.ts.map