import { IBrokerBus } from "./base"; import { IBus, IMessage, IDispatcher, TransformStream, FanoutBusDispatchersParamType } from "@tandem/mesh"; /** * @deprecated apps should never directly register listeners to a main bus. Instead they should interface * with a public collection * * @export * @class BrokerBus * @implements {IBrokerBus} */ export declare class BrokerBus implements IBrokerBus { readonly actors: Array>; private _bus; constructor(busClass?: { new (actors: FanoutBusDispatchersParamType): IBus; }, ...actors: Array>); register(...actors: Array>): void; unregister(...actors: Array>): void; dispatch(message: IMessage): TransformStream; }