import type { ValidatedCommand } from '../../classes'; import type { ICommand } from './command.interface'; export interface ICommandBus { execute(command: ICommand): Promise; execute(command: ValidatedCommand): Promise; }