/** Canonical list of rule severity override values. */
declare const RULE_SEVERITIES: readonly ["error", "warn", "off"];
/** Per-rule severity override sent from client to server. */
type RuleSeverityOverride = (typeof RULE_SEVERITIES)[number];
/** Map of rule ID to severity override. Rules absent from the map use their default. */
type RuleOverrides = Readonly<Record<string, RuleSeverityOverride>>;

/**
 * AUTO-GENERATED — DO NOT EDIT
 *
 * Rule metadata manifest for all ganko rules.
 * Regenerate: bun run scripts/generate-rules-manifest.ts
 */

/** Rule category for grouping in configuration UIs and documentation. */
type RuleCategory = "correctness" | "css-a11y" | "css-animation" | "css-cascade" | "css-jsx" | "css-layout" | "css-property" | "css-selector" | "css-structure" | "jsx" | "performance" | "reactivity" | "solid";
/** Plugin that owns the rule. */
type RulePlugin = "compilation" | "solid";
/** Static metadata for a single lint rule. */
interface RuleEntry {
    readonly id: string;
    readonly severity: RuleSeverityOverride;
    readonly description: string;
    readonly fixable: boolean;
    readonly category: RuleCategory;
    readonly plugin: RulePlugin;
    readonly messages: Record<string, string>;
}
/** All rule metadata entries, sorted by category then id. */
declare const RULES: readonly RuleEntry[];
/** Rules grouped by category. */
declare const RULES_BY_CATEGORY: Readonly<Record<RuleCategory, readonly RuleEntry[]>>;
/** All rule categories, sorted alphabetically. */
declare const RULE_CATEGORIES: readonly RuleCategory[];
/** Lookup a rule by ID. Returns undefined if not found. */
declare function getRule(id: string): RuleEntry | undefined;

export { type RuleOverrides as R, RULES as a, RULES_BY_CATEGORY as b, type RuleEntry as c, RULE_CATEGORIES as d, getRule as g };
