import { AggregateRootId } from '../AggregateRootId'; /** * Exception that gets thrown when a an event is applied to an event source other than the one expected. */ export declare class EventWasAppliedByOtherAggregateRoot extends Error { /** * Initializes a new instance of {@link EventWasAppliedToOtherEventSource}. * @param {AggregateRootId} aggregateRoot - The applied event source. * @param {AggregateRootId} expectedAggregateRoot - The expected event source. */ constructor(aggregateRoot: AggregateRootId, expectedAggregateRoot: AggregateRootId); } //# sourceMappingURL=EventWasAppliedByOtherAggregateRoot.d.ts.map