import { z } from 'zod'; import { LLMTask } from '@cortex/core'; export declare const PROMPT_ID = "relationship_inference"; export declare const PROMPT_VERSION = "1.0.0"; export declare const systemPrompt = "You are a knowledge graph relationship engine. Given a set of entities, identify\nmeaningful relationships between them. Relationships must be factual and\ngrounded in the content, not speculative.\n\nValid relationship types:\n- depends_on: A requires B to function\n- implements: A is an implementation of B\n- contradicts: A conflicts with B\n- evolved_from: A is a newer version/evolution of B\n- relates_to: A and B are connected (general)\n- uses: A uses/consumes B\n- constrains: A places limits on B\n- resolves: A addresses/solves B\n- documents: A describes/documents B\n- derived_from: A was created based on B\n\nIMPORTANT: Return ONLY valid JSON with this EXACT structure:\n{\"relationships\": [...]}\n\nIf no relationships found, return: {\"relationships\": []}\nNo markdown, no code fences, no explanations. Just JSON."; export declare function buildUserPrompt(vars: { entities: Array<{ id: string; type: string; name: string; summary?: string; sourceFile: string; }>; }): string; export declare const outputSchema: z.ZodObject<{ relationships: z.ZodArray; sourceEntityId: z.ZodString; targetEntityId: z.ZodString; description: z.ZodString; confidence: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: "depends_on" | "implements" | "contradicts" | "evolved_from" | "relates_to" | "uses" | "constrains" | "resolves" | "documents" | "derived_from"; confidence: number; sourceEntityId: string; targetEntityId: string; description: string; }, { type: "depends_on" | "implements" | "contradicts" | "evolved_from" | "relates_to" | "uses" | "constrains" | "resolves" | "documents" | "derived_from"; confidence: number; sourceEntityId: string; targetEntityId: string; description: string; }>, "many">; }, "strip", z.ZodTypeAny, { relationships: { type: "depends_on" | "implements" | "contradicts" | "evolved_from" | "relates_to" | "uses" | "constrains" | "resolves" | "documents" | "derived_from"; confidence: number; sourceEntityId: string; targetEntityId: string; description: string; }[]; }, { relationships: { type: "depends_on" | "implements" | "contradicts" | "evolved_from" | "relates_to" | "uses" | "constrains" | "resolves" | "documents" | "derived_from"; confidence: number; sourceEntityId: string; targetEntityId: string; description: string; }[]; }>; export type RelationshipInferenceOutput = z.infer; export declare const config: { provider: "cloud"; model: "fast"; temperature: number; maxTokens: number; task: LLMTask; }; //# sourceMappingURL=relationship-inference.d.ts.map