import { Tag } from "@tsplus/stdlib/service/Tag";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * 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 serviceWith
 * @tsplus location "@effect/core/io/Effect/operations/serviceWith"
 */
export declare function serviceWith<T, A>(tag: Tag<T>, f: (a: T) => A, __tsplusTrace?: string): Effect<T, never, A>;
//# sourceMappingURL=serviceWith.d.ts.map