/** * Repository scan for semantic indexing: enumerates indexable source files * using the same ignore-aware walk the native find/grep fallbacks use, and * totals their bytes so the caller can apply the size threshold. */ export interface RepoScanFile { /** Absolute path. */ abs: string; /** POSIX path relative to the scan root. */ rel: string; /** File size in bytes. */ size: number; /** mtime in ms. */ mtimeMs: number; } export interface RepoScanResult { files: RepoScanFile[]; totalBytes: number; } /** * Enumerate indexable files under `root`: respects hierarchical `.gitignore`, * always skips `.git`/`node_modules`, drops binary-ish extensions and files * over 1MB. Returns files plus their byte total for threshold checks. */ export declare function scanRepo(root: string, signal?: AbortSignal): RepoScanResult; //# sourceMappingURL=repo-scan.d.ts.map