export interface ScanResult { structure: string; workflows: string | null; hash: string; filesSeen: number; } /** * Scan a folder into the compact repo map pushed to the project context. */ export declare function scanRepo(root: string): ScanResult; export interface MultiRepoScanResult { structure: string; workflows: string | null; hash: string; filesSeen: number; repos: Array<{ name: string; path: string; }>; } /** * Scan multiple git sub-repos inside a parent folder. Each repo is scanned * independently and results are combined with repo-name section headers. * Used for multi-repo projects where the parent folder is not itself a git * repo but contains multiple independent repos. */ export declare function scanMultiRepo(parentPath: string, repos: Array<{ name: string; path: string; isGitRepo: boolean; }>): MultiRepoScanResult;