/** * Env vars a diff stops reading, and the infrastructure that still sets them * (change: add-iac-code-binding). * * A name read in a changed code file at the base and read nowhere in the working tree is a * removed (or renamed) read. Each one is paired with the declaration sites that still set the old * name — the manifests an agent renaming `DATABASE_URL` in code would otherwise miss. * * Read-only and offline: base blobs via git, working-tree files, a `git grep` to confirm the name * is not read elsewhere, and the manifest scan of `env-declaration-scan.ts` (run only when a * removed read exists). */ import type { ChangedFile } from '../../types/index.js'; export interface StaleEnvDeclaration { /** The env var the diff no longer reads. */ name: string; /** Infrastructure sites that still set it (key and location; never the value). */ sites: Array<{ ecosystem: string; resource: string; file: string; line: number; }>; } export interface EnvRenameCheck { /** Names read at the base in a changed file and read nowhere in the working tree. */ removedReads: string[]; stillSet: StaleEnvDeclaration[]; boundaries: string[]; } export declare function checkEnvRenames(root: string, baseRef: string, entries: ReadonlyArray>): Promise; //# sourceMappingURL=env-rename-check.d.ts.map