import * as E from "../Either";
import * as O from "../Option";
import type { Effect } from "./effect";
/**
 * Returns a successful effect if the value is `Right`, or fails with the error `None`.
 */
export declare function right<R, E, B, C>(self: Effect<R, E, E.Either<B, C>>, __trace?: string): Effect<R, O.Option<E>, C>;
//# sourceMappingURL=right.d.ts.map