import { IEntity } from './entity';
export declare const IRepositoryOf: symbol;
export interface IRepository<TAggregate extends IEntity<TId>, TId> {
    getById(id: TId): Promise<TAggregate>;
    save(aggregate: TAggregate): void;
}
