/** * Code Repository Parser for the ingestion engine. * * Parses a git repository directory to extract: * - README.md content (project overview, setup instructions) * - package.json / pyproject.toml / Cargo.toml (dependencies, scripts) * - Config files (.env.example, docker-compose.yml, etc.) * - Git log (recent commit messages for architecture decisions, bug patterns) * - Function/class extraction for major languages * - Language detection from file extensions * * Produces a ParsedDocument with sections for architecture, dependencies, * patterns, and recent development activity. */ import type { ParsedDocument } from "./types"; /** * Parse a git repository directory into a ParsedDocument. * * @param repoPath - Path to the repository root (must have .git/) * @param options - Optional configuration */ export declare function parseCodeRepository(repoPath: string, options?: { /** Include git log analysis (default: true) */ readonly includeGitLog?: boolean; /** Max commits to parse (default: 100) */ readonly gitLogDepth?: number; /** Only include specific file patterns */ readonly includePatterns?: string[]; }): ParsedDocument; //# sourceMappingURL=code-parser.d.ts.map