import { PrimaryFieldPossible } from ".."; import { EntityMeta } from "../meta/meta-objects/entity-meta.class"; import { META, RESOLVED, VERSION } from "../symbols"; import { AnyEntity } from "./any-entity.type"; import { EntityType } from "./entity-type.interface"; /** * The base class of every entity. * * It is recommended to create an own `BaseEntity`, which extends this one and * is defined getters so that the metadata can be accessed more conveniently. */ export declare abstract class BaseEntity, Primary extends PrimaryFieldPossible> { private static init; private static initField; /** * Definition metadata of this entity type. * * Potentially `undefined` because it only exists when there are at least one * decorator applied. */ [META]: EntityMeta; /** * Indicates that the **data** fields (**relation** fields not included) of * the this has been populated. */ [RESOLVED]: boolean; /** * The ORM version of this entity which is used to prevent operations on * expired entities. */ [VERSION]: number; constructor(...[orm, primaryKey]: ConstructorParameters>); } //# sourceMappingURL=base-entity.class.d.ts.map