import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Hub } from "@effect/core/io/Hub/definition";
import { Stream } from "@effect/core/stream/Stream/definition";
/**
 * Creates a stream from a subscription to a hub.
 * @param maxChunkSize   Maximum number of queued elements to put in one chunk in the stream.
 * @tsplus static ets/Stream/Ops fromHub
 * @tsplus location "@effect/core/stream/Stream/operations/fromHub"
 */
export declare function fromHub<A>(hub: LazyArg<Hub<A>>, maxChunkSize?: number, __tsplusTrace?: string): Stream<never, never, A>;
//# sourceMappingURL=fromHub.d.ts.map