/** * v0.5 §6.4 — discover `.claude/skills/**\/*.md` in a repo, record path/hash/ * size/mtime so the ledger can do incremental classification. * * Hash = SHA256(file body), first 12 hex chars. Body is read raw (no CRLF * normalization) because the ledger's purpose is "did this file *as on disk* * change since last analyze" — normalizing would mask legitimate edits that * only touched line endings. */ export interface ScannedSkill { /** Relative path from repo root, POSIX-normalized for stability across OS. */ path: string; /** SHA256 hex, first 12 chars (§6.4 example "a3f1c8e2b9d4"). */ hash: string; size_bytes: number; mtime_iso: string; } export interface ScanOptions { /** Override the conventional `.claude/skills` location (testing). */ skills_subpath?: string; } export declare function scanRepoSkills(repoRoot: string, opts?: ScanOptions): ScannedSkill[]; /** Read body of a scanned skill (for classifier input). */ export declare function readScannedBody(repoRoot: string, scanned: ScannedSkill): string;