import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Hub } from "@effect/core/io/Hub/definition";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
import { Effect } from "@effect/core/io/Effect/definition";
import { Scope } from "@effect/core/io/Scope/definition";
import { Stream } from "@effect/core/stream/Stream/definition";
/**
 * Creates a stream from a subscription to a hub in the context of a scoped
 * effect. The scoped effect describes subscribing to receive messages from
 * the hub while the stream describes taking messages from the hub.
 *
 * The hub will be shut down once the stream is closed.
 * @tsplus static ets/Stream/Ops fromChunkHubScopedWithShutdown
 * @tsplus location "@effect/core/stream/Stream/operations/fromChunkHubScopedWithShutdown"
 */
export declare function fromChunkHubScopedWithShutdown<A>(hub: LazyArg<Hub<Chunk<A>>>, __tsplusTrace?: string): Effect<Scope, never, Stream<never, never, A>>;
//# sourceMappingURL=fromChunkHubScopedWithShutdown.d.ts.map