import { z } from 'zod'; export declare const NodeSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<["entity", "concept", "document", "chunk", "summary"]>; label: z.ZodString; properties: z.ZodRecord; embedding: z.ZodOptional>; metadata: z.ZodOptional>; created_at: z.ZodDefault; updated_at: z.ZodDefault; }, "strip", z.ZodTypeAny, { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }, { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }>; export declare const RelationshipSchema: z.ZodObject<{ id: z.ZodString; source_id: z.ZodString; target_id: z.ZodString; type: z.ZodString; properties: z.ZodRecord; weight: z.ZodDefault; confidence: z.ZodDefault; metadata: z.ZodOptional>; created_at: z.ZodDefault; }, "strip", z.ZodTypeAny, { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }, { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }>; export declare const ChunkSchema: z.ZodObject<{ id: z.ZodString; content: z.ZodString; document_id: z.ZodString; position: z.ZodNumber; embedding: z.ZodOptional>; entities: z.ZodDefault>; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id?: string; embedding?: number[]; metadata?: Record; content?: string; document_id?: string; position?: number; entities?: string[]; }, { id?: string; embedding?: number[]; metadata?: Record; content?: string; document_id?: string; position?: number; entities?: string[]; }>; export declare const PassageGraphSchema: z.ZodObject<{ nodes: z.ZodArray; label: z.ZodString; properties: z.ZodRecord; embedding: z.ZodOptional>; metadata: z.ZodOptional>; created_at: z.ZodDefault; updated_at: z.ZodDefault; }, "strip", z.ZodTypeAny, { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }, { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }>, "many">; relationships: z.ZodArray; weight: z.ZodDefault; confidence: z.ZodDefault; metadata: z.ZodOptional>; created_at: z.ZodDefault; }, "strip", z.ZodTypeAny, { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }, { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }>, "many">; type: z.ZodLiteral<"passage">; }, "strip", z.ZodTypeAny, { type?: "passage"; nodes?: { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }[]; relationships?: { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }[]; }, { type?: "passage"; nodes?: { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }[]; relationships?: { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }[]; }>; export declare const TreesGraphSchema: z.ZodObject<{ nodes: z.ZodArray; label: z.ZodString; properties: z.ZodRecord; embedding: z.ZodOptional>; metadata: z.ZodOptional>; created_at: z.ZodDefault; updated_at: z.ZodDefault; }, "strip", z.ZodTypeAny, { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }, { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }>, "many">; relationships: z.ZodArray; weight: z.ZodDefault; confidence: z.ZodDefault; metadata: z.ZodOptional>; created_at: z.ZodDefault; }, "strip", z.ZodTypeAny, { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }, { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }>, "many">; root_nodes: z.ZodArray; levels: z.ZodNumber; type: z.ZodLiteral<"trees">; }, "strip", z.ZodTypeAny, { type?: "trees"; nodes?: { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }[]; relationships?: { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }[]; root_nodes?: string[]; levels?: number; }, { type?: "trees"; nodes?: { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }[]; relationships?: { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }[]; root_nodes?: string[]; levels?: number; }>; export declare const KnowledgeGraphSchema: z.ZodObject<{ nodes: z.ZodArray; label: z.ZodString; properties: z.ZodRecord; embedding: z.ZodOptional>; metadata: z.ZodOptional>; created_at: z.ZodDefault; updated_at: z.ZodDefault; }, "strip", z.ZodTypeAny, { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }, { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }>, "many">; relationships: z.ZodArray; weight: z.ZodDefault; confidence: z.ZodDefault; metadata: z.ZodOptional>; created_at: z.ZodDefault; }, "strip", z.ZodTypeAny, { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }, { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }>, "many">; entities: z.ZodArray; concepts: z.ZodArray; type: z.ZodLiteral<"knowledge">; }, "strip", z.ZodTypeAny, { type?: "knowledge"; entities?: string[]; nodes?: { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }[]; relationships?: { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }[]; concepts?: string[]; }, { type?: "knowledge"; entities?: string[]; nodes?: { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }[]; relationships?: { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }[]; concepts?: string[]; }>; export declare const DAGSchema: z.ZodObject<{ nodes: z.ZodArray; label: z.ZodString; properties: z.ZodRecord; embedding: z.ZodOptional>; metadata: z.ZodOptional>; created_at: z.ZodDefault; updated_at: z.ZodDefault; }, "strip", z.ZodTypeAny, { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }, { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }>, "many">; relationships: z.ZodArray; weight: z.ZodDefault; confidence: z.ZodDefault; metadata: z.ZodOptional>; created_at: z.ZodDefault; }, "strip", z.ZodTypeAny, { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }, { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }>, "many">; entry_points: z.ZodArray; exit_points: z.ZodArray; type: z.ZodLiteral<"dag">; }, "strip", z.ZodTypeAny, { type?: "dag"; nodes?: { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }[]; relationships?: { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }[]; entry_points?: string[]; exit_points?: string[]; }, { type?: "dag"; nodes?: { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }[]; relationships?: { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }[]; entry_points?: string[]; exit_points?: string[]; }>; export declare const OperatorResultSchema: z.ZodObject<{ nodes: z.ZodArray; label: z.ZodString; properties: z.ZodRecord; embedding: z.ZodOptional>; metadata: z.ZodOptional>; created_at: z.ZodDefault; updated_at: z.ZodDefault; }, "strip", z.ZodTypeAny, { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }, { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }>, "many">; relationships: z.ZodArray; weight: z.ZodDefault; confidence: z.ZodDefault; metadata: z.ZodOptional>; created_at: z.ZodDefault; }, "strip", z.ZodTypeAny, { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }, { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }>, "many">; chunks: z.ZodOptional>; entities: z.ZodDefault>; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id?: string; embedding?: number[]; metadata?: Record; content?: string; document_id?: string; position?: number; entities?: string[]; }, { id?: string; embedding?: number[]; metadata?: Record; content?: string; document_id?: string; position?: number; entities?: string[]; }>, "many">>; scores: z.ZodOptional>; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { metadata?: Record; nodes?: { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }[]; relationships?: { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }[]; chunks?: { id?: string; embedding?: number[]; metadata?: Record; content?: string; document_id?: string; position?: number; entities?: string[]; }[]; scores?: Record; }, { metadata?: Record; nodes?: { id?: string; type?: "entity" | "concept" | "document" | "chunk" | "summary"; label?: string; properties?: Record; embedding?: number[]; metadata?: Record; created_at?: Date; updated_at?: Date; }[]; relationships?: { id?: string; type?: string; properties?: Record; metadata?: Record; created_at?: Date; source_id?: string; target_id?: string; weight?: number; confidence?: number; }[]; chunks?: { id?: string; embedding?: number[]; metadata?: Record; content?: string; document_id?: string; position?: number; entities?: string[]; }[]; scores?: Record; }>; export declare const VDBOperatorConfigSchema: z.ZodObject<{ query_embedding: z.ZodArray; top_k: z.ZodDefault; similarity_threshold: z.ZodDefault; node_types: z.ZodOptional>; }, "strip", z.ZodTypeAny, { query_embedding?: number[]; top_k?: number; similarity_threshold?: number; node_types?: string[]; }, { query_embedding?: number[]; top_k?: number; similarity_threshold?: number; node_types?: string[]; }>; export declare const PPROperatorConfigSchema: z.ZodObject<{ seed_nodes: z.ZodArray; damping_factor: z.ZodDefault; max_iterations: z.ZodDefault; tolerance: z.ZodDefault; personalization: z.ZodOptional>; }, "strip", z.ZodTypeAny, { seed_nodes?: string[]; damping_factor?: number; max_iterations?: number; tolerance?: number; personalization?: Record; }, { seed_nodes?: string[]; damping_factor?: number; max_iterations?: number; tolerance?: number; personalization?: Record; }>; export declare const OneHopOperatorConfigSchema: z.ZodObject<{ source_nodes: z.ZodArray; relationship_types: z.ZodOptional>; direction: z.ZodDefault>; max_depth: z.ZodDefault; }, "strip", z.ZodTypeAny, { source_nodes?: string[]; relationship_types?: string[]; direction?: "incoming" | "outgoing" | "both"; max_depth?: number; }, { source_nodes?: string[]; relationship_types?: string[]; direction?: "incoming" | "outgoing" | "both"; max_depth?: number; }>; export declare const KHopPathOperatorConfigSchema: z.ZodObject<{ source_nodes: z.ZodArray; target_nodes: z.ZodArray; max_hops: z.ZodDefault; relationship_types: z.ZodOptional>; path_limit: z.ZodDefault; }, "strip", z.ZodTypeAny, { source_nodes?: string[]; relationship_types?: string[]; target_nodes?: string[]; max_hops?: number; path_limit?: number; }, { source_nodes?: string[]; relationship_types?: string[]; target_nodes?: string[]; max_hops?: number; path_limit?: number; }>; export declare const ExecutionPatternSchema: z.ZodEnum<["sequential", "parallel", "adaptive"]>; export declare const OperatorChainSchema: z.ZodObject<{ operators: z.ZodArray; dependencies: z.ZodDefault>; }, "strip", z.ZodTypeAny, { type?: string; config?: Record; dependencies?: string[]; }, { type?: string; config?: Record; dependencies?: string[]; }>, "many">; execution_pattern: z.ZodEnum<["sequential", "parallel", "adaptive"]>; fusion_strategy: z.ZodDefault>; }, "strip", z.ZodTypeAny, { operators?: { type?: string; config?: Record; dependencies?: string[]; }[]; execution_pattern?: "sequential" | "parallel" | "adaptive"; fusion_strategy?: "union" | "intersection" | "weighted_average"; }, { operators?: { type?: string; config?: Record; dependencies?: string[]; }[]; execution_pattern?: "sequential" | "parallel" | "adaptive"; fusion_strategy?: "union" | "intersection" | "weighted_average"; }>; export type Node = z.infer; export type Relationship = z.infer; export type Chunk = z.infer; export type PassageGraph = z.infer; export type TreesGraph = z.infer; export type KnowledgeGraph = z.infer; export type DAG = z.infer; export type OperatorResult = z.infer; export type VDBOperatorConfig = z.infer; export type PPROperatorConfig = z.infer; export type OneHopOperatorConfig = z.infer; export type KHopPathOperatorConfig = z.infer; export type ExecutionPattern = z.infer; export type OperatorChain = z.infer; export declare const AggregatorOperatorConfigSchema: z.ZodObject<{ source_nodes: z.ZodArray; aggregation_method: z.ZodDefault>; relationship_weights: z.ZodOptional>; normalize_scores: z.ZodDefault; }, "strip", z.ZodTypeAny, { source_nodes?: string[]; aggregation_method?: "sum" | "average" | "max" | "weighted"; relationship_weights?: Record; normalize_scores?: boolean; }, { source_nodes?: string[]; aggregation_method?: "sum" | "average" | "max" | "weighted"; relationship_weights?: Record; normalize_scores?: boolean; }>; export declare const FromRelOperatorConfigSchema: z.ZodObject<{ relationship_ids: z.ZodArray; include_context: z.ZodDefault; context_window: z.ZodDefault; }, "strip", z.ZodTypeAny, { relationship_ids?: string[]; include_context?: boolean; context_window?: number; }, { relationship_ids?: string[]; include_context?: boolean; context_window?: number; }>; export declare const OccurrenceOperatorConfigSchema: z.ZodObject<{ entities: z.ZodArray; co_occurrence_window: z.ZodDefault; min_frequency: z.ZodDefault; include_positions: z.ZodDefault; }, "strip", z.ZodTypeAny, { entities?: string[]; co_occurrence_window?: number; min_frequency?: number; include_positions?: boolean; }, { entities?: string[]; co_occurrence_window?: number; min_frequency?: number; include_positions?: boolean; }>; export declare const SteinerOperatorConfigSchema: z.ZodObject<{ terminal_nodes: z.ZodArray; edge_weights: z.ZodOptional>; algorithm: z.ZodDefault>; max_tree_size: z.ZodDefault; }, "strip", z.ZodTypeAny, { terminal_nodes?: string[]; edge_weights?: Record; algorithm?: "exact" | "approximation"; max_tree_size?: number; }, { terminal_nodes?: string[]; edge_weights?: Record; algorithm?: "exact" | "approximation"; max_tree_size?: number; }>; export declare const QueryPlanSchema: z.ZodObject<{ id: z.ZodString; query: z.ZodString; intent: z.ZodEnum<["factual", "analytical", "exploratory", "comparative"]>; operator_chain: z.ZodObject<{ operators: z.ZodArray; dependencies: z.ZodDefault>; }, "strip", z.ZodTypeAny, { type?: string; config?: Record; dependencies?: string[]; }, { type?: string; config?: Record; dependencies?: string[]; }>, "many">; execution_pattern: z.ZodEnum<["sequential", "parallel", "adaptive"]>; fusion_strategy: z.ZodDefault>; }, "strip", z.ZodTypeAny, { operators?: { type?: string; config?: Record; dependencies?: string[]; }[]; execution_pattern?: "sequential" | "parallel" | "adaptive"; fusion_strategy?: "union" | "intersection" | "weighted_average"; }, { operators?: { type?: string; config?: Record; dependencies?: string[]; }[]; execution_pattern?: "sequential" | "parallel" | "adaptive"; fusion_strategy?: "union" | "intersection" | "weighted_average"; }>; estimated_cost: z.ZodOptional; priority: z.ZodDefault>; }, "strip", z.ZodTypeAny, { id?: string; query?: string; intent?: "factual" | "analytical" | "exploratory" | "comparative"; operator_chain?: { operators?: { type?: string; config?: Record; dependencies?: string[]; }[]; execution_pattern?: "sequential" | "parallel" | "adaptive"; fusion_strategy?: "union" | "intersection" | "weighted_average"; }; estimated_cost?: number; priority?: "low" | "medium" | "high" | "critical"; }, { id?: string; query?: string; intent?: "factual" | "analytical" | "exploratory" | "comparative"; operator_chain?: { operators?: { type?: string; config?: Record; dependencies?: string[]; }[]; execution_pattern?: "sequential" | "parallel" | "adaptive"; fusion_strategy?: "union" | "intersection" | "weighted_average"; }; estimated_cost?: number; priority?: "low" | "medium" | "high" | "critical"; }>; export type AggregatorOperatorConfig = z.infer; export type FromRelOperatorConfig = z.infer; export type OccurrenceOperatorConfig = z.infer; export type SteinerOperatorConfig = z.infer; export type QueryPlan = z.infer; export type Graph = PassageGraph | TreesGraph | KnowledgeGraph | DAG; //# sourceMappingURL=graph.d.ts.map