import { CastType } from '../CastType'; import { Relationship } from '../Relationship'; export interface ColumnMeta { name: string; columnName?: string; cast?: CastType; primaryKey?: boolean; autoGenerated?: boolean; } export interface RelationshipMeta { name: string; relationship: Relationship; } export interface PrototypeMeta { columns: ColumnMeta[]; relationships: RelationshipMeta[]; serializableFields: string[]; nonSerializableFields: string[]; } export declare const registry: WeakMap; export declare function getOrCreate(proto: object): PrototypeMeta;