import { AbstractRef, IBuildOptions, IClassRef, IEntityOptions, IEntityRef, ILookupRegistry, IPropertyRef, ISchemaRef, METADATA_TYPE } from '@allgemein/schema-api'; import { AbstractExchange } from './AbstractExchange'; export interface IExchangeMessageRefOptions extends IEntityOptions { } export declare class ExchangeMessageRef extends AbstractRef implements IEntityRef { private exchange; private isActive; constructor(options: IExchangeMessageRefOptions); getExchange(): AbstractExchange; initExchange(opts?: any): Promise>; build(instance: any, options?: IBuildOptions): T; create(): T; isOf(instance: any): boolean; reset(): void; getPropertyRef(name: string): IPropertyRef; getPropertyRefs(): IPropertyRef[]; id(): string; /** * TODO implement * * @param object * @param type */ getRegistry(): ILookupRegistry; /** * TODO implement * * @param object * @param type */ getSchemaRefs(): ISchemaRef[]; /** * Return a class ref for passing string, Function or class ref * * @param object * @param type */ getClassRefFor(object: string | Function | IClassRef, type: METADATA_TYPE): IClassRef; }