import { Tag } from "@tsplus/stdlib/service/Tag";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Effectfully accesses the specified service in the environment of the
 * effect.
 *
 * Especially useful for creating "accessor" methods on services' companion
 * objects.
 * @tsplus static ets/Effect/Ops serviceWithEffect
 * @tsplus location "@effect/core/io/Effect/operations/serviceWithEffect"
 */
export declare function serviceWithEffect<T, R, E, A>(tag: Tag<T>, f: (a: T) => Effect<R, E, A>, __tsplusTrace?: string): Effect<R | T, E, A>;
//# sourceMappingURL=serviceWithEffect.d.ts.map