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