import type { Has, Tag } from "../../Has"
import type { Managed } from "../managed"
/**
 * Updates a service in the environment of this effect.
 */
export declare function updateService_<T, R, E, A>(
  self: Managed<R, E, A>,
  tag: Tag<T>,
  f: (_: T) => T,
  __trace?: string
): Managed<R & Has<T>, E, A>
/**
 * Updates a service in the environment of this effect.
 *
 * @dataFirst updateService_
 */
export declare function updateService<T>(
  tag: Tag<T>,
  f: (_: T) => T,
  __trace?: string
): <R, E, A>(self: Managed<R, E, A>) => Managed<R & Has<T>, E, A>
//# sourceMappingURL=updateService.d.ts.map
