import { CommittedEvent } from './CommittedEvent'; /** * Represents a collection of committed events. * * @summary This type implements Iterable and can be used for iterations directly. */ export declare class CommittedEvents implements Iterable { private _events; static readonly empty: CommittedEvents; /** * Creates an instance of {@link CommittedEvents}. * @param {...CommittedEvent[]} events - Events to initialize with. */ constructor(...events: CommittedEvent[]); /** @inheritdoc */ [Symbol.iterator](): Iterator; /** * Convert committed events to an array. * @returns {CommittedEvent[]} Array of committed events. */ toArray(): CommittedEvent[]; } //# sourceMappingURL=CommittedEvents.d.ts.map