import type { Relationship, RelationshipDenialCode, RelationshipObjectKind, RelationshipType, RelationshipValidationContext, RelationshipValidationError } from "./relationships.js";
export interface ValidationOk<T> {
    readonly ok: true;
    readonly value: T;
}
export interface ValidationFail {
    readonly ok: false;
    readonly errors: readonly RelationshipValidationError[];
}
export type RelationshipValidation = ValidationOk<Relationship> | ValidationFail;
export declare function assertRelationshipTypeAllowsKinds(type: RelationshipType, sourceKind: RelationshipObjectKind, targetKind: RelationshipObjectKind): RelationshipDenialCode | null;
export declare function validateRelationship(input: unknown, ctx?: RelationshipValidationContext): RelationshipValidation;
//# sourceMappingURL=relationships-validation.d.ts.map