mcp-ai-agent-guidelines
Version:
A comprehensive Model Context Protocol server providing advanced tools, resources, and prompts for implementing AI agent best practices
18 lines • 749 B
TypeScript
import type { MermaidModuleProvider, ValidationResult } from "./types.js";
/**
* Set a custom mermaid module provider for testing.
*
* **Exported for tests only** - Use via `import { __setMermaidModuleProvider } from '@/tools/test-utils/mermaid'`
* This function is re-exported from test-utils for convenience. Direct import is discouraged.
*
* @param provider - Custom module provider function
* @internal
*/
export declare function __setMermaidModuleProvider(provider: MermaidModuleProvider | null): void;
/**
* Validate Mermaid diagram syntax.
* @param code - Mermaid diagram code
* @returns Validation result
*/
export declare function validateDiagram(code: string): Promise<ValidationResult>;
//# sourceMappingURL=validator.d.ts.map