import type { RelationType } from '../../../shared/types/relation.js';
export declare class RelationGraphError extends Error {
    constructor(message: string);
}
export declare class DuplicateRelationError extends RelationGraphError {
    readonly sourceId: string;
    readonly targetId: string;
    readonly relationType: RelationType;
    constructor(sourceId: string, targetId: string, relationType: RelationType, message?: string);
}
export declare class CyclicRelationError extends RelationGraphError {
    readonly sourceId: string;
    readonly targetId: string;
    readonly relationType: RelationType;
    constructor(sourceId: string, targetId: string, relationType: RelationType, message?: string);
}
//# sourceMappingURL=relation-errors.d.ts.map