import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Recovers from all defects with provided 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.
 * @tsplus fluent ets/Effect catchAllDefect
 * @tsplus location "@effect/core/io/Effect/operations/catchAllDefect"
 */
export declare function catchAllDefect_<R, E, A, R2, E2, A2>(self: Effect<R, E, A>, f: (defect: unknown) => Effect<R2, E2, A2>, __tsplusTrace?: string): Effect<R | R2, E | E2, A | A2>;
/**
 * Recovers from all defects with provided 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.
 * @tsplus static ets/Effect/Aspects catchAllDefect
 * @tsplus pipeable ets/Effect catchAllDefect
 * @tsplus location "@effect/core/io/Effect/operations/catchAllDefect"
 */
export declare const catchAllDefect: <R2, E2, A2>(f: (defect: unknown) => import("../definition").Effect<R2, E2, A2>, __tsplusTrace?: string) => <R, E, A>(self: import("../definition").Effect<R, E, A>) => import("../definition").Effect<R | R2, E | E2, A | A2>;
//# sourceMappingURL=catchAllDefect.d.ts.map