/** * @packageDocumentation * Stable catalog IDs for all plugin rules. */ /** * Catalog metadata for a single rule. */ export type RuntimeCleanupRuleCatalogEntry = Readonly<{ ruleId: RuntimeCleanupRuleCatalogId; ruleName: string; ruleNumber: number; }>; /** * Stable machine-friendly rule id format (for example: `R001`). */ export type RuntimeCleanupRuleCatalogId = `R${string}`; /** * Canonical catalog metadata entries in stable display/order form. */ export declare const runtimeCleanupRuleCatalogEntries: readonly RuntimeCleanupRuleCatalogEntry[]; /** * Fast lookup map for rule catalog metadata by rule name. */ export declare const runtimeCleanupRuleCatalogByRuleName: Readonly>>; /** * Resolve stable catalog metadata for a rule name when available. */ export declare const getRuleCatalogEntryForRuleNameOrNull: (ruleName: string) => null | RuntimeCleanupRuleCatalogEntry; /** * Resolve stable catalog metadata for a rule name. * * @throws When the rule is missing from the catalog. */ export declare const getRuleCatalogEntryForRuleName: (ruleName: string) => RuntimeCleanupRuleCatalogEntry; /** * Resolve stable catalog metadata by rule id. */ export declare const runtimeCleanupRuleCatalogByRuleId: ReadonlyMap; /** * Resolve stable catalog metadata for a catalog id. */ export declare const getRuleCatalogEntryForRuleId: (ruleId: RuntimeCleanupRuleCatalogId) => RuntimeCleanupRuleCatalogEntry | undefined; /** * Validate that catalog IDs are unique and sequential. */ export declare const validateRuleCatalogIntegrity: () => boolean; //# sourceMappingURL=rule-catalog.d.ts.map