import * as O from "../Option/core.js"; import type { Effect } from "./effect.js"; /** * Takes some fiber failures and converts them into errors. * * @ets_data_first unrefine_ */ export declare function unrefine(pf: (u: unknown) => O.Option, __trace?: string): (fa: Effect) => Effect; /** * Takes some fiber failures and converts them into errors. */ export declare function unrefine_(fa: Effect, pf: (u: unknown) => O.Option, __trace?: string): Effect; /** * Takes some fiber failures and converts them into errors, using the * specified function to convert the `E` into an `E1 | E2`. * * @ets_data_first unrefineWith_ */ export declare function unrefineWith(pf: (u: unknown) => O.Option, f: (e: E) => E2, __trace?: string): (fa: Effect) => Effect; /** * Takes some fiber failures and converts them into errors, using the * specified function to convert the `E` into an `E1 | E2`. */ export declare function unrefineWith_(fa: Effect, pf: (u: unknown) => O.Option, f: (e: E) => E2, __trace?: string): Effect; //# sourceMappingURL=unrefine.d.ts.map