import { Tag } from "@tsplus/stdlib/service/Tag";
import { Stream } from "@effect/core/stream/Stream/definition";
/**
 * Accesses the specified service in the environment of the stream in the
 * context of a stream.
 * @tsplus static ets/Stream/Ops serviceWithStream
 * @tsplus location "@effect/core/stream/Stream/operations/serviceWithStream"
 */
export declare function serviceWithStream<T, R, E, A>(tag: Tag<T>, f: (resource: T) => Stream<R, E, A>, __tsplusTrace?: string): Stream<R | T, E, A>;
//# sourceMappingURL=serviceWithStream.d.ts.map