import * as E from "@effect-ts/core/Either"; import type * as O from "@effect-ts/core/Option"; export interface EitherOps { /** * @ets_rewrite_method pipe from "smart:pipe" */ pipe(this: Self, f: (self: Self) => Ret): Ret; /** * @ets_rewrite_getter unsafeGetLeft from "@effect-ts/core/Either" */ readonly left: E | undefined; /** * @ets_rewrite_getter unsafeGetRight from "@effect-ts/core/Either" */ readonly right: A | undefined; /** * @ets_rewrite_getter getLeft from "@effect-ts/core/Either" */ readonly getLeft: O.Option; /** * @ets_rewrite_getter getRight from "@effect-ts/core/Either" */ readonly getRight: O.Option; /** * @ets_rewrite_method identity from "smart:identity" */ widenLeft(): E.Either; /** * @ets_rewrite_method identity from "smart:identity" */ widenRight(): E.Either; /** * @ets_rewrite_method chain_ from "@effect-ts/core/Either" */ chain(this: E.Either, f: (a: AX) => E.Either): E.Either; /** * @ets_rewrite_method map_ from "@effect-ts/core/Either" */ map(this: E.Either, f: (a: AX) => B): E.Either; /** * @ets_rewrite_method isRight from "@effect-ts/core/Either" */ isRight(this: E.Either): this is E.Right; /** * @ets_rewrite_method isLeft from "@effect-ts/core/Either" */ isLeft(this: E.Either): this is E.Left; } declare module "@effect-ts/system/Either/core" { interface Right extends EitherOps { } interface Left extends EitherOps { } } //# sourceMappingURL=either.d.ts.map