import { Failure } from '@dolittle/sdk.protobuf'; import { CommittedAggregateEvents } from './CommittedAggregateEvents'; /** * Represents the result from a commit of events. */ export declare class CommitAggregateEventsResult { readonly events: CommittedAggregateEvents; readonly failure?: Failure | undefined; /** * Initializes a new instance of {@link CommitEventsResult}. * @param {CommittedAggregateEvents} events - Events committed. * @param {Failure} failure - Failure from the response. */ constructor(events: CommittedAggregateEvents, failure?: Failure | undefined); /** * Gets whether or not the commit has failed. */ get failed(): boolean; } //# sourceMappingURL=CommitAggregateEventsResult.d.ts.map