/**
* DI Design HTML Visualizer
*
* Builds one HTML page per project showing EVERY controller/root design as
* its own Graphviz graph (rendered client-side with viz.js, same pipeline as
* the architecture visualization). Output goes to tmp/webpieces/ — a view,
* never committed (the committed artifacts are design.json/design.md).
*/
import { DiGraph } from './model';
export declare class DesignVisualizationPaths {
readonly dotPath: string;
readonly htmlPath: string;
constructor(dotPath: string, htmlPath: string);
}
/**
* Build the full HTML page for a project's DI designs — one section (heading
* + meta + rendered graph) per controller/root design.
*
* `backHref`, when given, renders a "back to architecture" link at the top —
* used by the committed per-project design.html so a reader who clicked in from
* dependencies.html can click back out. Omitted for the tmp view.
*/
export declare function generateDesignHTML(graph: DiGraph, backHref?: string): string;
/**
* Write tmp/webpieces/design-.html (+ .dot with all digraphs
* concatenated, for debugging) and return the paths.
*/
export declare function writeDesignVisualization(graph: DiGraph, workspaceRoot: string): DesignVisualizationPaths;