import { Layer } from "@effect/core/io/Layer/definition";
import { Tag } from "@tsplus/stdlib/service/Tag";
/**
 * Flattens nested layers.
 * @tsplus fluent ets/Layer flatten
 * @tsplus location "@effect/core/io/Layer/operations/flatten"
 */
export declare function flatten<R, E, R2, E2, A>(self: Layer<R, E, Layer<R2, E2, A>>, tag: Tag<Layer<R2, E2, A>>): Layer<R | R2, E | E2, A>;
//# sourceMappingURL=flatten.d.ts.map