import type * as O from "../Option/index.js"; import type { Effect } from "./effect.js"; /** * Recovers from some or all of the defects with provided partial function. * * '''WARNING''': There is no sensible way to recover from defects. This * method should be used only at the boundary between Effect and an external * system, to transmit information on a defect for diagnostic or explanatory * purposes. */ export declare function catchSomeDefect_(fa: Effect, f: (_: unknown) => O.Option>, __trace?: string): Effect; /** * Recovers from some or all of the defects with provided partial function. * * '''WARNING''': There is no sensible way to recover from defects. This * method should be used only at the boundary between Effect and an external * system, to transmit information on a defect for diagnostic or explanatory * purposes. * * @dataFist catchSomeDefect_ */ export declare function catchSomeDefect(f: (_: unknown) => O.Option>, __trace?: string): (effect: Effect) => Effect; //# sourceMappingURL=catchSomeDefect.d.ts.map