/** * CLI glue for the `contextatlas resolve-symbols` subcommand (v0.7 * Step 2.3.a.1 — Approach D Skill→LSP symbol-resolution bridge per * Travis Decision-3-α lock at Step 2.3 Checkpoint 2 disposition). * * Reads an atlas.json that was written by `/index-atlas` Skill in * claims-only stub state (`symbols: []`, `claims[].symbol_ids: []`, * `claims[].symbol_candidates: [...]` raw extraction strings). * Spawns LSP adapters for each configured language; walks source * files; builds a symbol inventory; resolves each claim's raw * candidates into canonical SymbolIds via R8 name-form normalization; * writes the enriched atlas back atomically (temp + rename). * * Cost: zero API calls. Local LSP subprocess interaction only. * * Substrate equivalence: post-resolve-symbols atlas substantively * matches CLI-path-produced atlas at the substrate-consistency layer * (symbols[] + claims[].symbol_ids populated; per-language LSP * coverage equivalent to `contextatlas index` LSP walk). * * Exit-code contract (ADR-12-style): * 0 — success (atlas read, resolved, written back) * 1 — pipeline failure (LSP walk threw; atlas not writable) * 2 — setup error (atlas not found; atlas malformed; config invalid; * adapter init failed) */ export type ResolveSymbolsExitCode = 0 | 1 | 2; export interface ResolveSymbolsCliOptions { configRoot: string; configFile: string | null; /** Test seam: where progress + summary output goes. Defaults to process.stdout.write. */ writeStdout?: (chunk: string) => void; /** Test seam: where error output goes. Defaults to process.stderr.write. */ writeStderr?: (chunk: string) => void; } export interface ResolveSymbolsCliResult { exitCode: ResolveSymbolsExitCode; /** Number of claims that gained at least one symbol_id after resolution. */ claimsResolved?: number; /** Number of raw candidates that did not resolve to any symbol. */ candidatesUnresolved?: number; /** Total symbols enumerated by the LSP walk. */ symbolsEnumerated?: number; } /** * Run the `resolve-symbols` subcommand end-to-end. Never throws — all * error paths map to exit codes and error messages logged. */ export declare function runResolveSymbolsSubcommand(options: ResolveSymbolsCliOptions): Promise; //# sourceMappingURL=cli-resolve-symbols.d.ts.map