import { CustomAttribute, LazyLoadedRelationshipConstraintClass, NavigationProperty, RelationshipClass, RelationshipConstraint, RelationshipEnd, RelationshipMultiplicity, StrengthDirection, StrengthType } from "@itwin/ecschema-metadata"; /** * Hackish approach that works like a "friend class" so we can access protected members without making them public. * @internal */ export declare abstract class MutableRelationshipConstraint extends RelationshipConstraint { abstract addCustomAttribute(customAttribute: CustomAttribute): void; abstract removeClass(constraint: LazyLoadedRelationshipConstraintClass): void; abstract setRoleLabel(roleLabel: string | undefined): void; abstract setRelationshipEnd(relationshipEnd: RelationshipEnd): void; abstract setPolymorphic(polymorphic: boolean): void; abstract setMultiplicity(multiplicity: RelationshipMultiplicity): void; abstract setAbstractConstraint(abstractConstraint: LazyLoadedRelationshipConstraintClass | undefined): void; } /** * @internal * An abstract class used for schema editing. */ export declare abstract class MutableRelationshipClass extends RelationshipClass { get source(): MutableRelationshipConstraint; get target(): MutableRelationshipConstraint; abstract setStrength(strength: StrengthType): void; abstract setStrengthDirection(direction: StrengthDirection): void; abstract setSourceConstraint(source: RelationshipConstraint): void; abstract setTargetConstraint(target: RelationshipConstraint): void; abstract createNavigationProperty(name: string, relationship: string | RelationshipClass, direction: string | StrengthDirection): Promise; abstract createNavigationPropertySync(name: string, relationship: string | RelationshipClass, direction: string | StrengthDirection): NavigationProperty; abstract setDisplayLabel(displayLabel: string): void; } //# sourceMappingURL=MutableRelationshipClass.d.ts.map