import { Stream } from "@effect/core/stream/Stream/definition";
import { Tag } from "@tsplus/stdlib/service/Tag";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Env } from "@tsplus/stdlib/service/Env";
/**
 * Provides the stream with the single service it requires. If the stream
 * requires multiple services use `provideEnvironment` instead.
 * @tsplus fluent ets/Stream provideService
 * @tsplus location "@effect/core/stream/Stream/operations/provideService"
 */
export declare function provideService_<R, E, A, T, T1 extends T>(self: Stream<R, E, A>, tag: Tag<T>, service: LazyArg<T1>, __tsplusTrace?: string): Stream<Exclude<R, T>, E, A>;
/**
 * Provides the stream with the single service it requires. If the stream
 * requires multiple services use `provideEnvironment` instead.
 * @tsplus static ets/Stream/Aspects provideService
 * @tsplus pipeable ets/Stream provideService
 * @tsplus location "@effect/core/stream/Stream/operations/provideService"
 */
export declare const provideService: <T, T1 extends T>(tag: import("@tsplus/stdlib/service/Tag").Tag<T>, service: import("@tsplus/stdlib/data/Function").LazyArg<T1>, __tsplusTrace?: string) => <R, E, A>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<Exclude<R, T>, E, A>;
//# sourceMappingURL=provideService.d.ts.map