import { Exit } from "@effect/core/io/Exit/definition";
import { Either } from "@tsplus/stdlib/data/Either/definition";
import { FiberFailure } from "@effect/core/io/Cause/errors";
/**
 * Converts the `Exit` to an `Either<FiberFailure<E>, A>`, by wrapping the
 * cause in `FiberFailure` (if the result is failed).
 * @tsplus getter ets/Exit toEither
 * @tsplus location "@effect/core/io/Exit/operations/toEither"
 */
export declare function toEither<E, A>(self: Exit<E, A>): Either<FiberFailure<E>, A>;
//# sourceMappingURL=toEither.d.ts.map