import { EntityPersistor } from "../../plugins"; import { Exactly } from "../../types"; import { EntityClass, EntityId } from "../types"; import { CreateEntityData, FindOptions, LoadedEntity, LoadEntityOptions, UpdateEntityData, Where } from "./types"; export declare class EntityRepository> { private EntityType; private persistors; constructor(EntityType: TEntityClass, persistors: EntityPersistor[]); create, TOptions> = never>(data: CreateEntityData, options?: TOptions): Promise>; createMany, TOptions> = never>(data: CreateEntityData[], options?: TOptions): Promise[]>; find, TOptions>>(where: Where, options?: TOptions): Promise[]>; findUnique, TOptions> = never>(where: Where, options?: TOptions): Promise | undefined>; findUniqueOrThrow, TOptions> = never>(where: Where, options?: TOptions): Promise>; findAll, TOptions> = never>(options?: TOptions): Promise[]>; exists, TOptions>>(where?: Where): Promise; count, TOptions>>(where?: Where): Promise; update, TOptions> = never>(id: EntityId, update: UpdateEntityData, options?: TOptions): Promise>; updateWhere, TOptions> = never>(where: Where, data: UpdateEntityData, options?: TOptions): Promise[]>; delete(id: EntityId): Promise; deleteWhere(where: Where): Promise; deleteAll(): Promise; private parseOptions; } //# sourceMappingURL=EntityRepository.d.ts.map