/** * Codebase map builder and renderers. * * `buildCodebaseMap` produces a typed `CodebaseMapSummary` from index artifacts. * `renderMapMarkdown` renders it to pipeable markdown (CLI default / MCP). * `renderMapPretty` renders it to a terminal-friendly box layout. * * All ordering is deterministic: sort by count DESC, then alphabetically for ties. */ import type { ProjectState } from '../project-state.js'; import type { CodebaseMapSummary } from '../types/index.js'; type CodebaseMapMode = 'bounded' | 'full'; type BuildCodebaseMapOptions = { mode?: CodebaseMapMode; }; /** * Build a `CodebaseMapSummary` from the project's index artifacts. * Reads `intelligence.json`, `relationships.json`, and `index.json` from project paths. * Degrades gracefully when artifacts are missing. */ export declare function buildCodebaseMap(project: ProjectState, options?: BuildCodebaseMapOptions): Promise; /** Render a `CodebaseMapSummary` to pipeable markdown. */ export declare function renderMapMarkdown(map: CodebaseMapSummary): string; /** Render a `CodebaseMapSummary` to terminal-friendly box output. */ export declare function renderMapPretty(map: CodebaseMapSummary): string; export {}; //# sourceMappingURL=codebase-map.d.ts.map