export type DiagramNode = { id: string; label: string; x?: number; y?: number; type?: DiagramTool["type"]; icon?: string; width?: number; height?: number; rotation?: number; }; export type DiagramLink = { id: string; source: string; target: string; label?: string; points?: Array<{ x: number; y: number; }>; }; export type DiagramEdgeInput = { id?: string; source?: string; target?: string; from?: string; to?: string; }; export type DiagramTool = { type: "process" | "decision" | "terminator" | "note" | "rectangle" | "square" | "ellipse" | "circle" | "oval" | "triangle" | "hexagon" | "diamond" | "parallelogram" | "capsule" | "document" | "subprocess" | "delay" | "manual-input" | "database-cylinder" | "off-page-connector" | "preparation" | "stored-data" | "display" | "merge" | "or" | "collate" | "data"; label: string; width?: number; height?: number; icon?: string; }; export interface DiagramOptions { selector: string; nodes?: DiagramNode[]; links?: DiagramLink[]; edges?: DiagramEdgeInput[]; theme?: "light" | "dark"; onNodeSelect?: (node: DiagramNode) => void; onLinkSelect?: (link: DiagramLink) => void; tools?: DiagramTool[]; hydrate?: boolean; } //# sourceMappingURL=Diagram.types.d.ts.map