import { Tag } from "@tsplus/stdlib/service/Tag";
import { STM } from "@effect/core/stm/STM/definition/base";
/**
 * Accesses the specified service in the environment of the effect.
 *
 * Especially useful for creating "accessor" methods on services' companion
 * objects.
 * @tsplus static ets/STM/Ops serviceWith
 * @tsplus location "@effect/core/stm/STM/operations/serviceWith"
 */
export declare function serviceWith<T, A>(tag: Tag<T>, f: (a: T) => A): STM<T, never, A>;
//# sourceMappingURL=serviceWith.d.ts.map