/** * The banned-pattern invariant ledger (relocated from `scripts/check-invariants.ts` * when the gate became the `check-invariants` command). Pure data — no Node * coupling — so the CLI-only scan capability (`runCheckInvariants`, provisioned * by `@czap/cli`) can import it without pulling fs into the pure registry entry, * and so `scripts/audit/report.ts` can import the rule set directly. * * `INVARIANTS` is the fast-lane rule set: each entry is a banned source pattern * (require / module.exports / `var` / a default export outside the sanctioned * Astro contract files / a hand-parsed signal axis) scoped to a set of `dirs`, * with per-rule `exclude` prefixes carrying the WHY of every sanctioned exception. * * @module */ /** One banned-pattern rule: a regex scoped to `dirs`, minus `exclude` prefixes. */ export interface CheckInvariantEntry { readonly name: string; readonly pattern: RegExp; readonly dirs: readonly string[]; readonly exclude?: readonly string[]; readonly message: string; } /** The fast-lane invariant rule set (repo-local; imported by the CLI scan + audit report). */ export declare const INVARIANTS: readonly CheckInvariantEntry[]; //# sourceMappingURL=check-invariants-registry.d.ts.map