/** * On-disk accounting for init's summary box (#420). * * `result.created.files` holds one entry per *item* (a whole skill folder, an * agent category, "memory: N patterns seeded"), and `result.skipped` mixes * already-present files with diagnostics, so their lengths said "267 created, * 101 already exist" for an empty repo that actually received ~2,060 files. * The summary instead diffs what is on disk before and after the run. * * Only the places init writes are walked — files at the project root and the * top-level dot-directories (.claude, .agents, .codex, .gemini, .kimi-code, * .opencode, .monomind, …) — so a large source tree is never scanned. */ export interface InitFileSnapshot { files: Set; directories: Set; /** Wall-clock start of the run; files modified at or after it were rewritten. */ startedAtMs: number; } export interface InitFileCounts { filesCreated: number; filesUpdated: number; filesUnchanged: number; directoriesCreated: number; } export declare function snapshotInitFiles(root: string): InitFileSnapshot; export declare function countInitFiles(root: string, before: InitFileSnapshot): InitFileCounts; /** Summary-box lines; empty categories are left out. */ export declare function formatInitFileCounts(counts: InitFileCounts): string[]; //# sourceMappingURL=written-files.d.ts.map