import Aggregate from './Aggregate'; import AggregateApiForReadOnly from './AggregateApiForReadOnly'; import Application from '../application'; import CommandInternal from './CommandInternal'; import { Dictionary } from '../../types/Dictionary'; import Repository from '../domain/Repository'; declare class AggregateApiForCommands extends AggregateApiForReadOnly { readonly application: Application; readonly repository: Repository; readonly command: CommandInternal; constructor({ aggregate, application, repository, command }: { aggregate: Aggregate; application: Application; repository: Repository; command: CommandInternal; }); publishEvent(eventName: string, data: Dictionary): void; } export default AggregateApiForCommands;