import { AggregateRootVersion } from '../AggregateRootVersion'; /** * Exception that gets thrown when a sequence of events are not valid for the Aggregate Root it is being used with. */ export declare class AggregateRootVersionIsOutOfOrder extends Error { /** * Initializes a new instance of {@link AggregateRootVersionIsOutOfOrder}. * @param {AggregateRootVersion} version - The attempted version number. * @param {AggregateRootVersion} expectedVersion - The expected version number. */ constructor(version: AggregateRootVersion, expectedVersion: AggregateRootVersion); } //# sourceMappingURL=AggregateRootVersionIsOutOfOrder.d.ts.map