import { Observable } from "rxjs"; import { Registry } from "./registry"; import { IMediator, INotification, ICommand } from "./types"; export declare class Mediator implements IMediator { private registry; constructor(registry: Registry); /** * send command * @param command command * @returns */ send(command: ICommand): Observable; publish(message: INotification): Observable; }