import { Meta } from "../chrono2/atom/Meta.js"; import { FieldAtomConstructor } from "../replica2/Atom.js"; import { EntityMeta } from "./EntityMeta.js"; /** * Type for the name of the entities/fields, just an alias to `string` */ export declare type Name = string; /** * Type for the type of the fields, just an alias to `string` */ export declare type Type = string; /** * This class describes a field of some [[EntityMeta]]. */ export declare class Field extends Meta { type: Type; /** * Reference to the [[EntityMeta]] this field belongs to. */ entity: EntityMeta; /** * Boolean flag, indicating whether this field should be persisted */ persistent: boolean; /** * The class of the identifier, that will be used to instantiate a specific identifier from this field. */ atomCls: FieldAtomConstructor; getAtomClass(): FieldAtomConstructor; clone(): this; }