import { AnyEntity } from "../entity/any-entity.type"; import { EntityType } from "../entity/entity-type.interface"; import { EntityEventManager } from "./entity-event-manager.class"; import { EntityManager } from "./entity-manager.class"; import { EntityRelationManager } from "./entity-relation-manager.class"; import { IdentityMap } from "./identity-map.class"; export declare class BerryOrm { private static nextVersion; readonly parent?: BerryOrm; readonly registry: Set; readonly version: number; readonly em: EntityManager; readonly erm: EntityRelationManager; readonly eem: EntityEventManager; readonly map: IdentityMap; constructor(options: BerryOrmOptions); fork(): BerryOrm; /** * Clear the identity map and update the ORM version, which will make all * existing entities belonging to this ORM instance to be unreachable. * @returns */ reset(): this; private inspect; private inspectEntity; private inspectEntityField; /** * Bypass the `readonly` check. * @param key * @param value */ private define; } interface BerryOrmOptions { entities: EntityType[]; } export {}; //# sourceMappingURL=berry-orm.class.d.ts.map