import { Tag } from "@tsplus/stdlib/service/Tag";
import { Layer } from "@effect/core/io/Layer/definition";
/**
 * Constructs a layer from the environment using the specified function.
 * @tsplus static ets/Layer/Ops fromFunction
 * @tsplus location "@effect/core/io/Layer/operations/fromFunction"
 */
export declare function fromFunction<A, B>(tagA: Tag<A>, tagB: Tag<B>, f: (a: A) => B): Layer<A, never, B>;
//# sourceMappingURL=fromFunction.d.ts.map