import { z } from "zod"; /** * Validation result for diagram syntax. */ export type ValidationResult = { valid: boolean; error?: string; skipped?: boolean; }; /** * Mermaid parse function type. */ export type MermaidParseLike = (code: string) => unknown | Promise; /** * Mermaid module provider function type. */ export type MermaidModuleProvider = () => unknown | Promise; /** * Mermaid diagram input schema. * Validates all input parameters for diagram generation. */ export declare const MermaidDiagramSchema: z.ZodObject<{ description: z.ZodString; diagramType: z.ZodEnum<["flowchart", "sequence", "class", "state", "gantt", "pie", "er", "journey", "quadrant", "git-graph", "mindmap", "timeline"]>; theme: z.ZodOptional; strict: z.ZodDefault>; repair: z.ZodDefault>; accTitle: z.ZodOptional; accDescr: z.ZodOptional; direction: z.ZodOptional>; customStyles: z.ZodOptional; advancedFeatures: z.ZodOptional>; }, "strip", z.ZodTypeAny, { description: string; strict: boolean; diagramType: "state" | "mindmap" | "flowchart" | "sequence" | "timeline" | "gantt" | "class" | "er" | "git-graph" | "journey" | "pie" | "quadrant"; repair: boolean; direction?: "TD" | "TB" | "BT" | "LR" | "RL" | undefined; theme?: string | undefined; accTitle?: string | undefined; accDescr?: string | undefined; customStyles?: string | undefined; advancedFeatures?: Record | undefined; }, { description: string; diagramType: "state" | "mindmap" | "flowchart" | "sequence" | "timeline" | "gantt" | "class" | "er" | "git-graph" | "journey" | "pie" | "quadrant"; strict?: boolean | undefined; direction?: "TD" | "TB" | "BT" | "LR" | "RL" | undefined; theme?: string | undefined; repair?: boolean | undefined; accTitle?: string | undefined; accDescr?: string | undefined; customStyles?: string | undefined; advancedFeatures?: Record | undefined; }>; /** * Inferred TypeScript type from Mermaid diagram schema. */ export type MermaidDiagramInput = z.infer; /** * Configuration for diagram generation. */ export interface DiagramConfig { description: string; theme?: string; direction?: "TD" | "TB" | "BT" | "LR" | "RL"; advancedFeatures?: Record; } //# sourceMappingURL=types.d.ts.map