import { Cause } from "@effect/core/io/Cause/definition"; import { Layer } from "@effect/core/io/Layer/definition"; import { Env } from "@tsplus/stdlib/service/Env"; /** * Feeds the error or output services of this layer into the input of either * the specified `failure` or `success` layers, resulting in a new layer with * the inputs of this layer, and the error or outputs of the specified layer. * @tsplus static effect/core/io/Layer.Aspects foldCauseLayer * @tsplus pipeable effect/core/io/Layer foldCauseLayer * @tsplus location "@effect/core/io/Layer/operations/foldCauseLayer" */ export declare function foldCauseLayer(failure: (cause: Cause) => Layer, success: (env: Env) => Layer): (self: import("@effect/core/io/Layer/definition").Layer) => import("@effect/core/io/Layer/definition").Layer; //# sourceMappingURL=foldCauseLayer.d.ts.map