/** * Codebase Mapper * Generates comprehensive overview of any codebase * Handles small to large enterprise codebases efficiently */ import { type Symbol } from './symbols.js'; /** * Statistics and metadata about the analyzed codebase. */ export interface CodebaseStats { totalFiles: number; totalCodeFiles: number; totalDirectories: number; languageBreakdown: Record; topDirectories: { path: string; files: number; }[]; estimatedSize: 'small' | 'medium' | 'large' | 'enterprise'; frameworks: string[]; packageManagers: string[]; hasTests: boolean; hasCI: boolean; hasDocs: boolean; hasDocker: boolean; } /** * Result of the codebase mapping process. */ export interface CodebaseMapResult { stats: CodebaseStats; tree: string; summary: string; } /** * Generates a full overview of the codebase at the specified directory. * * @param cwd - The root directory of the codebase to map. * @returns A promise resolving to the codebase statistics, tree structure, and summary string. */ export declare function mapCodebase(cwd: string): Promise; /** * Options for symbol mapping. */ export interface MapSymbolsOptions { maxFiles?: number; language?: string; directory?: string; } /** * Maps symbols (functions, classes, etc.) for code files in the codebase. * * @param cwd - Root directory. * @param options - Filtering and limit options. * @returns List of files with their extracted symbols. */ export declare function mapSymbols(cwd: string, options?: MapSymbolsOptions): Promise<{ file: string; symbols: Symbol[]; }[]>; //# sourceMappingURL=codebase.d.ts.map