/** * Graph Renderer * * ASCII rendering for the dependency graph with multiple view modes. */ import type { DependencyGraph } from './dependency-graph.js'; import type { RenderOptions } from './graph-types.js'; /** * GraphRenderer handles converting dependency graphs to ASCII representations. * * @since v1.48.0 */ export declare class GraphRenderer { private graph; private options; constructor(graph: DependencyGraph, options?: Partial); /** * Render the graph to a string */ render(): string; /** * Render as a tree structure */ private renderTree; /** * Recursively render a node and its dependencies as a tree */ private renderNodeTree; /** * Render as a dependency matrix */ private renderMatrix; /** * Render as a simple list with dependency info */ private renderList; /** * Format a node for display */ private formatNode; /** * Get the symbol for an edge type */ private getEdgeSymbol; /** * Apply color to text if colorization is enabled */ private colorize; /** * Update render options */ setOptions(options: Partial): void; /** * Get current options */ getOptions(): RenderOptions; } //# sourceMappingURL=graph-renderer.d.ts.map