import { IPropertyRef } from './IPropertyRef'; import { IClassRef } from './IClassRef'; import { IBuildOptions } from './IBuildOptions'; import { IBaseRef } from './IBaseRef'; import { ISchemaRef } from './ISchemaRef'; export declare function isEntityRef(x: any): x is IEntityRef; export interface IEntityRef extends IBaseRef { getPropertyRef(name: string): IPropertyRef; getPropertyRefs(): IPropertyRef[]; getSchemaRefs(): ISchemaRef | ISchemaRef[]; getClassRef(): IClassRef; getClass(create?: boolean): Function; create(addinfo?: boolean): T; build(instance: any, options?: IBuildOptions): T; isOf(instance: any): boolean; }