import { S as GraphPort, f as Graph, h as GraphEdge, y as GraphNode } from "./types-BAEQTwK_.mjs"; import * as z from "zod"; //#region src/schemas.d.ts declare const PortSchema: z.ZodObject<{ name: z.ZodString; direction: z.ZodEnum<{ in: "in"; out: "out"; inout: "inout"; }>; label: z.ZodOptional; data: z.ZodAny; x: z.ZodOptional; y: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; style: z.ZodOptional>>; }, z.core.$strip>; declare const NodeSchema: z.ZodObject<{ type: z.ZodLiteral<"node">; id: z.ZodString; parentId: z.ZodOptional>; initialNodeId: z.ZodOptional>; label: z.ZodOptional>; data: z.ZodAny; x: z.ZodOptional; y: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; shape: z.ZodOptional; color: z.ZodOptional; style: z.ZodOptional>>; ports: z.ZodOptional; label: z.ZodOptional; data: z.ZodAny; x: z.ZodOptional; y: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; style: z.ZodOptional>>; }, z.core.$strip>>>; }, z.core.$strip>; declare const EdgeSchema: z.ZodObject<{ type: z.ZodLiteral<"edge">; id: z.ZodString; sourceId: z.ZodString; targetId: z.ZodString; label: z.ZodOptional>; weight: z.ZodOptional; sourcePort: z.ZodOptional; targetPort: z.ZodOptional; mode: z.ZodOptional>; points: z.ZodOptional>>; routing: z.ZodOptional>; data: z.ZodAny; x: z.ZodOptional; y: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; color: z.ZodOptional; style: z.ZodOptional>>; }, z.core.$strip>; declare const GraphSchema: z.ZodObject<{ id: z.ZodString; mode: z.ZodEnum<{ directed: "directed"; undirected: "undirected"; bidirectional: "bidirectional"; }>; initialNodeId: z.ZodOptional>; nodes: z.ZodArray; id: z.ZodString; parentId: z.ZodOptional>; initialNodeId: z.ZodOptional>; label: z.ZodOptional>; data: z.ZodAny; x: z.ZodOptional; y: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; shape: z.ZodOptional; color: z.ZodOptional; style: z.ZodOptional>>; ports: z.ZodOptional; label: z.ZodOptional; data: z.ZodAny; x: z.ZodOptional; y: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; style: z.ZodOptional>>; }, z.core.$strip>>>; }, z.core.$strip>>; edges: z.ZodArray; id: z.ZodString; sourceId: z.ZodString; targetId: z.ZodString; label: z.ZodOptional>; weight: z.ZodOptional; sourcePort: z.ZodOptional; targetPort: z.ZodOptional; mode: z.ZodOptional>; points: z.ZodOptional>>; routing: z.ZodOptional>; data: z.ZodAny; x: z.ZodOptional; y: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; color: z.ZodOptional; style: z.ZodOptional>>; }, z.core.$strip>>; data: z.ZodAny; direction: z.ZodOptional>; style: z.ZodOptional>>; }, z.core.$strip>; interface GraphValidationIssue { code: string; message: string; path: Array; } declare function isGraphPort(value: unknown): value is GraphPort; declare function isGraphNode(value: unknown): value is GraphNode; declare function isGraphEdge(value: unknown): value is GraphEdge; declare function isGraph(value: unknown): value is Graph; declare function getGraphPortIssues(value: unknown): GraphValidationIssue[]; declare function getGraphNodeIssues(value: unknown): GraphValidationIssue[]; declare function getGraphEdgeIssues(value: unknown): GraphValidationIssue[]; declare function getGraphIssues(value: unknown): GraphValidationIssue[]; declare function validateGraph(value: unknown): GraphValidationIssue[]; //#endregion export { EdgeSchema, GraphSchema, GraphValidationIssue, NodeSchema, PortSchema, getGraphEdgeIssues, getGraphIssues, getGraphNodeIssues, getGraphPortIssues, isGraph, isGraphEdge, isGraphNode, isGraphPort, validateGraph };