UNPKG

sicua

Version:

A tool for analyzing project structure and dependencies

16 lines (15 loc) 810 B
import ts from "typescript"; import { ScanResult } from "../types"; /** * Extracts relevant files for translation analysis from the unified scan result * @param scanResult The unified scan result from directoryScanner * @returns Map of file paths to TypeScript SourceFile objects that are relevant for translation analysis */ export declare function getTranslationSourceFiles(scanResult: ScanResult): Map<string, ts.SourceFile>; /** * Legacy method that performs a full scan for backward compatibility * @param projectPath The root project path * @returns Map of file paths to TypeScript SourceFile objects * @deprecated Use getTranslationSourceFiles with the unified scanner instead */ export declare function scanSourceFilesForTranslations(projectPath: string): Promise<Map<string, ts.SourceFile>>;