import type { Model } from "../Model"; /** * Definition for DID -> DID relationships * * @typedef {Object} DIDLink */ export interface DIDLink extends Model { /** * Relationship of the DIDs * @see DIDLink.role enum */ role: number; /** * UUID of the host DID */ hostId: string; /** * UUID of the target DID */ targetId: string; /** * Optional name for the relationship */ alias?: string; } /** * Declaration merge to group Types */ export declare namespace DIDLink { /** * Enum for Role values * - unknown : value could not be mapped * - pair : DIDPair * - mediator : Mediator connection, DID for mediator * - routing : Mediator connection, routing DID returned * @enum {number} */ enum role { unknown = 0, pair = 1, mediator = 2, routing = 3 } } export declare const DIDLinkSchema: import("@trust0/ridb-core").SchemaType & { required: string[]; encrypted: []; };