import * as H from "../../../../Hub";
import type * as M from "../../../../Managed";
import type * as TK from "../../Take";
import type * as C from "../core";
/**
 * Like `Stream#runIntoHub`, but provides the result as a `Managed` to allow for scope
 * composition.
 */
export declare function runIntoHubManaged_<R, R1, E extends E1, E1, A, Z>(self: C.Stream<R, E, A>, hub: H.XHub<R1, never, never, unknown, TK.Take<E1, A>, Z>): M.Managed<R & R1, E | E1, void>;
/**
 * Like `Stream#runIntoHub`, but provides the result as a `Managed` to allow for scope
 * composition.
 *
 * @ets_data_first runIntoHubManaged_
 */
export declare function runIntoHubManaged<R1, E1, A, Z>(hub: H.XHub<R1, never, never, unknown, TK.Take<E1, A>, Z>): <R, E extends E1>(self: C.Stream<R, E, A>) => M.Managed<R & R1, E1 | E, void>;
//# sourceMappingURL=runIntoHubManaged.d.ts.map