/** * Compact-format renderer for SymbolContextBundle (ADR-04). * * Three depth levels — "summary" / "standard" / "deep" — produce * progressively denser output. Optional sections are omitted entirely * when empty rather than rendered as placeholders, keeping bundles * lean. Diagnostics are always rendered when present, at every depth. * * See DESIGN.md's tool interface section for the exact shapes and * test/fixtures/bundles/ for the canonical golden examples. */ import type { FindByIntentMatch } from "../queries/find-by-intent.js"; import type { ImpactBundle } from "../queries/impact-of-change.js"; import type { BundleDepth, SymbolContextBundle } from "../types.js"; export interface RenderOptions { depth: BundleDepth; maxRefs: number; } export declare function renderCompact(bundle: SymbolContextBundle, options: RenderOptions): string; /** * Compact-format renderer for `find_by_intent` results (ADR-09). * Uses the same `SYM` / `SIG` / `INTENT` vocabulary as the primitive * bundle so LLMs parsing `get_symbol_context` output read this * without re-learning conventions. * * Zero-matches renders as a single header line with no body — same * "omit empty sections" rule as `renderCompact`. */ export declare function renderMatchesCompact(matches: readonly FindByIntentMatch[], query: string): string; /** * Compact-format renderer for `impact_of_change` results (ADR-11). * * Header IMPACT line, then a primitive bundle in place (at depth * "deep"), then GIT_COCHANGE and RISK_SIGNALS blocks. The layout is * specified in ADR-11's "Response shape" section — changes require * an ADR amendment. */ export declare function renderImpactCompact(impact: ImpactBundle): string; //# sourceMappingURL=compact.d.ts.map