mcp-ai-agent-guidelines
Version:
A comprehensive Model Context Protocol server providing advanced tools, resources, and prompts for implementing AI agent best practices
22 lines • 663 B
TypeScript
/**
* Auto-repair utilities for Mermaid diagrams.
*/
/**
* Attempt to repair a diagram with common syntax issues.
* @param diagram - Mermaid diagram code
* @returns Repaired diagram code
*/
export declare function repairDiagram(diagram: string): string;
/**
* Generate a fallback minimal diagram.
* Used when repair attempts fail.
* @returns Minimal valid flowchart
*/
export declare function fallbackDiagram(): string;
/**
* Check if diagram needs repair.
* @param diagram - Mermaid diagram code
* @returns True if diagram has known issues
*/
export declare function needsRepair(diagram: string): boolean;
//# sourceMappingURL=repair.utils.d.ts.map