import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Hub } from "@effect/core/io/Hub/definition";
import { Sink } from "@effect/core/stream/Sink/definition/base";
/**
 * Create a sink which publishes each element to the specified hub. The hub
 * will be shutdown once the stream is closed.
 * @tsplus static ets/Sink/Ops fromHubWithShutdown
 * @tsplus location "@effect/core/stream/Sink/operations/fromHubWithShutdown"
 */
export declare function fromHubWithShutdown<In>(hub: LazyArg<Hub<In>>, __tsplusTrace?: string): Sink<never, never, In, never, void>;
//# sourceMappingURL=fromHubWithShutdown.d.ts.map