import { AbstractRef, IClassRef, ILookupRegistry, IMinMax, IPropertyRef, METADATA_TYPE } from '@allgemein/schema-api'; import { TASK_PROPERTY_TYPE } from './Constants'; import { ITaskPropertyRefOptions } from './ITaskPropertyRefOptions'; export declare class TaskExchangeRef extends AbstractRef implements IPropertyRef { cardinality: IMinMax | number; targetRef: IClassRef; constructor(desc: ITaskPropertyRefOptions); isPattern(): boolean; isAppended(): boolean; isOptional(): boolean; /** * Check if the option is set * * TODO move to @allgemein/schema-api * * @param name */ hasOption(name: string): boolean; /** * Return the property specific customized value * * @param value */ convert(value: any): Promise; get(instance: any): any; /** * Return */ getTargetRef(): IClassRef; /** * Returns the propertyType of property runtime, incoming or outgoing */ getPropertyType(): TASK_PROPERTY_TYPE; getType(): string; id(): string; isCollection(): boolean; isIdentifier(): boolean; isReference(): boolean; label(): string; /** * Return a class ref for passing string, Function or class ref * * @param object * @param type */ getClassRefFor(object: string | Function | IClassRef, type: METADATA_TYPE): IClassRef; getRegistry(): ILookupRegistry; }