import { EntityConstructor } from "./base"; export declare const ENTITY_REF_DEFINE = "ambjs::entity_reference_define"; export interface IEntityRefOptions { name: string | null; } export interface IEntityRefContract { references: Record; } export declare function Reference(): PropertyDecorator; export declare function Reference(name: string): PropertyDecorator; export declare function defineEntityRefs(target: EntityConstructor, metadata: IEntityRefContract): void; export declare function resolveEntityRefs(target: EntityConstructor, defaults?: Partial): IEntityRefContract;