import * as O from "../Option/index.js"; import type { Effect } from "./effect.js"; /** * Keeps some of the errors, and terminates the fiber with the rest, using * the specified function to convert the `E` into a `Throwable`. * * @ets_data_first refineOrDieWith_ */ export declare function refineOrDieWith(pf: (e: E) => O.Option, f: (e: E) => unknown, __trace?: string): (self: Effect) => Effect; /** * Keeps some of the errors, and terminates the fiber with the rest, using * the specified function to convert the `E` into a `Throwable`. */ export declare function refineOrDieWith_(self: Effect, pf: (e: E) => O.Option, f: (e: E) => unknown, __trace?: string): Effect; /** * Keeps some of the errors, and terminates the fiber with the rest * * @ets_data_first refineOrDie_ */ export declare function refineOrDie(pf: (e: E) => O.Option, __trace?: string): (self: Effect) => Effect; /** * Keeps some of the errors, and terminates the fiber with the rest */ export declare function refineOrDie_(self: Effect, pf: (e: E) => O.Option, __trace?: string): Effect; //# sourceMappingURL=refineOrDie.d.ts.map