/** * Shared helper for nested selective .gitignore migrations (AC-15, AC-16). * * Ignore rules live in a .gitignore INSIDE the governed directory (the * traceability/cache.ts self-ignoring pattern) — the project root * .gitignore is never modified. Lines are SELECTIVE, not '*': directories * like .aidlc/cost/ mix ephemera with files that must remain trackable * (unattributed.ndjson). Do not simplify to '*'. */ /** Lines from `ignorePath` missing the required entries (empty = healthy). */ export declare function missingIgnoreLines(ignorePath: string, required: string[]): string[]; /** Idempotently ensure `required` lines exist in `ignorePath`. Returns lines added. */ export declare function ensureIgnoreLines(ignorePath: string, required: string[]): string[]; //# sourceMappingURL=nested-gitignore.d.ts.map