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