import { JDLRelationshipType } from '../basic-types/relationships.js';
import JDLRelationship from './jdl-relationship.js';
export default class JDLRelationships {
    relationships: Record<JDLRelationshipType, Map<string, JDLRelationship>>;
    constructor();
    add(relationship: JDLRelationship): void;
    getOneToOne(relationshipId: any): JDLRelationship;
    getOneToMany(relationshipId: any): JDLRelationship;
    getManyToOne(relationshipId: any): JDLRelationship;
    getManyToMany(relationshipId: any): JDLRelationship;
    get(type: any, relationshipId: any): JDLRelationship;
    oneToOneQuantity(): number;
    oneToManyQuantity(): number;
    manyToOneQuantity(): number;
    manyToManyQuantity(): number;
    size(): number;
    forEach(passedFunction: (relationship: JDLRelationship) => void): void;
    toArray(): JDLRelationship[];
    toString(): string;
}
