import { Effect } from "@effect/core/io/Effect/definition";
import { Either } from "@tsplus/stdlib/data/Either/definition";
/**
 * Returns an effect that effectfully "peeks" at the result of this effect.
 * @tsplus fluent ets/Effect tapEither
 * @tsplus location "@effect/core/io/Effect/operations/tapEither"
 */
export declare function tapEither_<R, E, A, R2, E2, X>(self: Effect<R, E, A>, f: (either: Either<E, A>) => Effect<R2, E2, X>, __tsplusTrace?: string): Effect<R | R2, E | E2, A>;
/**
 * Returns an effect that effectfully "peeks" at the result of this effect.
 * @tsplus static ets/Effect/Aspects tapEither
 * @tsplus pipeable ets/Effect tapEither
 * @tsplus location "@effect/core/io/Effect/operations/tapEither"
 */
export declare const tapEither: <E, A, R2, E2, X>(f: (either: import("@tsplus/stdlib/data/Either").Either<E, A>) => import("../definition").Effect<R2, E2, X>, __tsplusTrace?: string) => <R>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect<R | R2, E | E2, A>;
//# sourceMappingURL=tapEither.d.ts.map