import * as E from "../Either/index.js"; import { NoSuchElementException } from "../GlobalExceptions/index.js"; import * as O from "../Option/index.js"; import type { Effect } from "./effect.js"; /** * Returns a successful effect if the value is `Left`, or fails with the error e. */ export declare function leftOrFail_(self: Effect>, orFail: (c: C) => E1, __trace?: string): Effect; /** * Returns a successful effect if the value is `Left`, or fails with the error e. * * @ets_data_first leftOrFail_ */ export declare function leftOrFail(orFail: (c: C) => E1, __trace?: string): (self: Effect>) => Effect; /** * Returns a successful effect if the value is `Left`, or fails with a `NoSuchElementException`. */ export declare function leftOrFailException(self: Effect>, __trace?: string): Effect; /** * Returns a successful effect if the value is `Left`, or fails with the error `None`. */ export declare function left(self: Effect>): Effect, B>; //# sourceMappingURL=leftOrFail.d.ts.map