import { IMessage } from "@tandem/mesh"; import { IBrokerBus } from "../dispatchers"; import { Kernel, IInjectable } from "@tandem/common/ioc"; import { Logger } from "@tandem/common/logger"; export interface ICommand { execute(message?: IMessage): any; } export declare abstract class BaseCommand implements ICommand, IInjectable { protected readonly logger: Logger; protected bus: IBrokerBus; protected kernel: Kernel; abstract execute(message: IMessage): any; }