export interface ScannedFile { /** Absolute path */ absPath: string; /** Path relative to the indexed root */ relPath: string; language: string; hash: string; content: string; } /** Walk a directory tree and return source files with their content and hashes */ export declare function scanDirectory(rootDir: string, languages?: string[]): Promise<{ files: ScannedFile[]; errors: string[]; }>;