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 foldLayer * @tsplus pipeable effect/core/io/Layer foldLayer * @tsplus location "@effect/core/io/Layer/operations/foldLayer" */ export declare function foldLayer(failure: (e: E) => Layer, success: (a: Env) => Layer): (self: import("../definition").Layer) => import("../definition").Layer; //# sourceMappingURL=foldLayer.d.ts.map