import { Cancellation } from '@dolittle/sdk.resilience'; import { AggregateRoot } from './AggregateRoot'; import { AggregateRootAction } from './AggregateRootAction'; /** * Defines a system for working with operations that can be formed on an {@link AggregateRoot}. * @template TAggregate {@link AggregateRoot} Type. */ export declare abstract class IAggregateRootOperations { /** * Perform an operation on an {@link AggregateRoot}. * @param {AggregateRootAction} action - Callback for working with the aggregate root. * @param {Cancellation} [cancellation] - The optional cancellation token. * @returns {Promise} */ abstract perform(action: AggregateRootAction, cancellation?: Cancellation): Promise; } //# sourceMappingURL=IAggregateRootOperations.d.ts.map