import { ISerializable, Serializable } from "@js-soft/ts-serval"; import { CoreAddress, ICoreAddress } from "@nmshd/core-types"; import { AbstractAttributeQuery, AbstractAttributeQueryJSON, IAbstractAttributeQuery } from "./AbstractAttributeQuery"; import { AttributeValues } from "./AttributeValueTypes"; import { IValueHints, ValueHints, ValueHintsJSON } from "./hints"; import { RelationshipAttributeConfidentiality } from "./RelationshipAttributeConfidentiality"; export interface RelationshipAttributeCreationHintsJSON { title: string; valueType: AttributeValues.Relationship.TypeName; description?: string; valueHints?: ValueHintsJSON; confidentiality: RelationshipAttributeConfidentiality; } export interface IRelationshipAttributeCreationHints extends ISerializable { title: string; valueType: AttributeValues.Relationship.TypeName; description?: string; valueHints?: IValueHints; confidentiality: RelationshipAttributeConfidentiality; } /** * AttributeHints are rendering hints with a `title` and a possible `description` set. * They are primarily used within `RelationshipAttributeQuery` to define the metadata of * a proprietary Attribute, even without such an Attribute existent. */ export declare class RelationshipAttributeCreationHints extends Serializable implements IRelationshipAttributeCreationHints { title: string; valueType: AttributeValues.Relationship.TypeName; description?: string; valueHints?: ValueHints; confidentiality: RelationshipAttributeConfidentiality; protected static preFrom(value: any): any; static from(value: IRelationshipAttributeCreationHints | Omit): RelationshipAttributeCreationHints; } export interface RelationshipAttributeQueryJSON extends AbstractAttributeQueryJSON { "@type": "RelationshipAttributeQuery"; key: string; owner: string; attributeCreationHints: RelationshipAttributeCreationHintsJSON; } export interface IRelationshipAttributeQuery extends IAbstractAttributeQuery { key: string; owner: ICoreAddress; attributeCreationHints: IRelationshipAttributeCreationHints; } export declare class RelationshipAttributeQuery extends AbstractAttributeQuery implements IRelationshipAttributeQuery { key: string; owner: CoreAddress; attributeCreationHints: RelationshipAttributeCreationHints; static from(value: IRelationshipAttributeQuery | Omit): RelationshipAttributeQuery; toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): RelationshipAttributeQueryJSON; } //# sourceMappingURL=RelationshipAttributeQuery.d.ts.map