/** * CLI Command: lex code-atlas * * Extract code units from a repository using static analysis. * Outputs CodeAtlasOutput JSON with run metadata and extracted code units. * * Part of Code Atlas Epic (CA-001) - Layer 3: CLI */ import type { CodeUnit } from "../../atlas/schemas/code-unit.js"; import type { CodeAtlasRun } from "../../atlas/schemas/code-atlas-run.js"; export interface CodeAtlasOptions { repo?: string; include?: string; exclude?: string; maxFiles?: number; out?: string; strategy?: "static" | "llm-assisted" | "mixed"; json?: boolean; policySeed?: string; } export interface CodeAtlasOutput { run: CodeAtlasRun; units: CodeUnit[]; } export interface CodeAtlasResult { success: boolean; output?: CodeAtlasOutput; outputPath?: string; policySeedPath?: string; error?: string; } /** * Execute the 'lex code-atlas' command */ export declare function codeAtlas(options?: CodeAtlasOptions): Promise;