/** * Per-file change list formatting helpers. * * Used by the upload flow to display skill/subagent collision `fileChanges` * (path-level added/modified/removed entries) in clack notes. */ import type { FileChange } from "../../../api/registrar.js"; /** * Render a flat, uncolored per-file change list for display in a clack note. * * One line per file, sorted by path (ASCII). Each line contains the path, the * status word, and a `(binary)` marker for binary files. The `existingContent` * field is never rendered; callers only see the path-level summary. * * @param args - The function arguments * @param args.fileChanges - Per-file change entries from the collision payload * * @returns Multi-line string, or empty string if the list is empty */ export declare const formatFileChangesForNote: (args: { fileChanges: ReadonlyArray; }) => string; /** * Produce a compact tally string grouped by status for non-interactive output. * * Example: `"2 added, 1 modified, 1 removed"`. Status groups with zero count * are omitted. Returns empty string when there are no changes. * * @param args - The function arguments * @param args.fileChanges - Optional per-file change entries * * @returns A tally string, or empty string when list is empty/missing */ export declare const summarizeFileChangeCounts: (args: { fileChanges?: ReadonlyArray | null; }) => string; //# sourceMappingURL=fileChangesFormat.d.ts.map