import { z } from 'zod'; /** * Entity Relationship * * Represents a typed relationship between entities using URIs as coordinates. * URIs follow the pattern: redaksjon://{type}/{id} * * Examples: * - redaksjon://person/pete_wagner * - redaksjon://company/acme-corp * - redaksjon://term/kubernetes * - redaksjon://project/protokoll */ export declare const EntityRelationshipSchema: z.ZodObject<{ uri: z.ZodString; relationship: z.ZodString; notes: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>; export type EntityRelationship = z.infer; /** * Relationships field for all entities * Array of typed relationships to other entities */ export declare const RelationshipsSchema: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; /** * Helper function to create a relationship URI */ export declare function createEntityUri(type: string, id: string): string; /** * Helper function to parse a relationship URI */ export declare function parseEntityUri(uri: string): { type: string; id: string; } | null; /** * Helper function to create a relationship */ export declare function createRelationship(targetType: string, targetId: string, relationship: string, notes?: string, metadata?: Record): EntityRelationship; //# sourceMappingURL=relationships.d.ts.map