import { AggregateRoot } from './aggregate-root'; import { AggregateId } from './aggregate-id'; import { Optional } from '../../../../common/optional'; export declare abstract class AggregateRepository> { abstract findById(aggregateId: I): Optional; abstract save(aggregate: A): void; }