/** * Options for {@link generateDependencyGraph}. */ export interface DepsGraphOptions { /** * Globs of files to exclude from the graph entirely (in addition to the * built-in exclusions for tests, declarations, mocks and `node_modules`). * Edges touching excluded files are dropped. */ exclude?: string[]; /** * Globs whose matching files are merged into a single node per glob, * labelled with the glob and the count of collapsed files. Edges into * and out of collapsed files become edges to/from the merged node, * with self-loops removed and duplicates deduplicated. */ collapseDir?: string[]; } /** * Generates a Mermaid dependency graph for the project's source files. * * Uses dependency-cruiser to analyze imports and outputs a Mermaid flowchart * diagram to stdout. The output is wrapped in markdown code blocks for * easy inclusion in documentation. * * @param directory - The project directory to analyze * @param options - Optional graph-shaping flags (collapse, exclude) * @throws {VrtError} If dependency analysis fails */ export declare function generateDependencyGraph(directory: string, options?: DepsGraphOptions): Promise;