import tsEslintPlugin from "@typescript-eslint/eslint-plugin";
import { adaptExternalRule, getExternalRuleFromPlugin, } from "../_internal/create-external-rule.js";
import { createReplacementRuleInfo, withDeprecatedRuleLifecycle, } from "../_internal/rule-deprecation.js";
const rule = adaptExternalRule(getExternalRuleFromPlugin(tsEslintPlugin, "no-mixed-enums", "@typescript-eslint/eslint-plugin"), "https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/no-mixed-enums");
/**
 * Wrapper rule with explicit lifecycle metadata and replacement mapping.
 */
const deprecatedRule = withDeprecatedRuleLifecycle(rule, {
    message: "Deprecated in favor of @typescript-eslint/no-mixed-enums.",
    replacedBy: [
        createReplacementRuleInfo({
            plugin: {
                name: "@typescript-eslint",
                url: "https://typescript-eslint.io/",
            },
            rule: {
                name: "no-mixed-enums",
                url: "https://typescript-eslint.io/rules/no-mixed-enums",
            },
        }),
    ],
    ruleId: "no-mixed-enums",
});
export default deprecatedRule;
//# sourceMappingURL=no-mixed-enums.js.map