import { Cause } from "@effect/core/io/Cause/definition"; import { Effect } from "@effect/core/io/Effect/definition"; /** * Runs the specified effect if this effect fails, providing the error to the * effect if it exists. The provided effect will not be interrupted. * @tsplus static effect/core/io/Effect.Aspects onError * @tsplus pipeable effect/core/io/Effect onError * @tsplus location "@effect/core/io/Effect/operations/onError" */ export declare function onError(cleanup: (cause: Cause) => Effect): (self: import("../definition").Effect) => import("../definition").Effect; //# sourceMappingURL=onError.d.ts.map