import { Layer } from "@effect/core/io/Layer/definition";
/**
 * Recovers from all errors.
 * @tsplus fluent ets/Layer catchAll
 * @tsplus location "@effect/core/io/Layer/operations/catchAll"
 */
export declare function catchAll_<R, E, A, R2, E2, A2>(self: Layer<R, E, A>, handler: (e: E) => Layer<R2, E2, A2>): Layer<R | R2, E2, A & A2>;
/**
 * Recovers from all errors.
 * @tsplus static ets/Layer/Aspects catchAll
 * @tsplus pipeable ets/Layer catchAll
 * @tsplus location "@effect/core/io/Layer/operations/catchAll"
 */
export declare const catchAll: <E, R2, E2, A2>(handler: (e: E) => import("../definition").Layer<R2, E2, A2>) => <R, A>(self: import("../definition").Layer<R, E, A>) => import("../definition").Layer<R | R2, E2, A & A2>;
//# sourceMappingURL=catchAll.d.ts.map