/** * Global rule catalog indexed by rule name and documentation id. */ type RuleCatalog = Readonly<{ readonly byDocId: Readonly>; readonly byRuleName: Readonly>; readonly ordered: readonly RuleCatalogEntry[]; }>; /** * Single rule entry in the global catalog. */ type RuleCatalogEntry = Readonly<{ readonly catalogId: string; readonly catalogIndex: number; readonly docId: string; readonly isTypeScriptRule: boolean; readonly ruleName: string; }>; /** * Build a globally ordered rule catalog from persistent, never-reused ids. * * @throws When catalog assignments are duplicated or inconsistent. */ export declare const buildRuleCatalog: (ruleNames: readonly string[]) => RuleCatalog; export type { RuleCatalog, RuleCatalogEntry }; //# sourceMappingURL=rule-catalog.d.ts.map