import { Channel } from "@effect/core/stream/Channel/definition/base";
import { Tag } from "@tsplus/stdlib/service/Tag";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Env } from "@tsplus/stdlib/service/Env";
/**
 * Provides the effect with the single service it requires. If the effect
 * requires more than one service use `provideEnvironment` instead.
 * @tsplus fluent ets/Channel provideService
 * @tsplus location "@effect/core/stream/Channel/operations/provideService"
 */
export declare function provideService_<R, InErr, InElem, InDone, OutErr, OutElem, OutDone, T, T1 extends T>(self: Channel<R, InErr, InElem, InDone, OutErr, OutElem, OutDone>, tag: Tag<T>, service: LazyArg<T1>, __tsplusTrace?: string): Channel<Exclude<R, T>, InErr, InElem, InDone, OutErr, OutElem, OutDone>;
/**
 * Provides the effect with the single service it requires. If the effect
 * requires more than one service use `provideEnvironment` instead.
 * @tsplus static ets/Channel/Aspects provideService
 * @tsplus pipeable ets/Channel provideService
 * @tsplus location "@effect/core/stream/Channel/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, InErr, InElem, InDone, OutErr, OutElem, OutDone>(self: import("../definition").Channel<R, InErr, InElem, InDone, OutErr, OutElem, OutDone>) => import("../definition").Channel<Exclude<R, T>, InErr, InElem, InDone, OutErr, OutElem, OutDone>;
//# sourceMappingURL=provideService.d.ts.map