export interface CommandRunResult { exitCode: number; stdout: string; stderr: string; } export interface DiagramCommandRunner { run(command: string, args: string[]): Promise; } export interface DiagramLintResult { valid: boolean; tool: "mmdc"; command: string; args: string[]; exitCode: number | null; stdout: string; stderr: string; missingTool: boolean; installHint?: string; } export interface DiagramEvidenceResult { artifact: string; content: string; } export type DiagramQuestionDomain = "architecture" | "workflow" | "integration" | "data" | "deployment"; export declare const diagramTypeDecisionMatrix: Record; export declare function recommendDiagramType(domain: DiagramQuestionDomain): string; export declare function lintMermaidDiagram({ content, filePath, runner, }: { content?: string; filePath?: string; runner?: DiagramCommandRunner; }): Promise; export declare function recordDiagramLintEvidence({ taskId, result, root, }: { taskId: string; result: DiagramLintResult; root?: string; }): Promise;