import { Command } from './types/Command';
import { CommandBus } from './types/CommandBus';
import { CommandResponse } from './types/CommandResponse';
import { CommandMiddleware } from './middlewares/CommandMiddleware';
export declare class InternalCommandBus<RESULT> implements CommandBus {
    private middlewareChain;
    constructor(middlewareChain: CommandMiddleware<RESULT>);
    publish(command: Command<RESULT>): Promise<CommandResponse<RESULT>>;
}
