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-base-to-string", "@typescript-eslint/eslint-plugin"), "https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/no-value-tostring");
/**
 * Wrapper rule with explicit lifecycle metadata and replacement mapping.
 */
const deprecatedRule = withDeprecatedRuleLifecycle(rule, {
    message: "Deprecated in favor of @typescript-eslint/no-base-to-string.",
    replacedBy: [
        createReplacementRuleInfo({
            plugin: {
                name: "@typescript-eslint",
                url: "https://typescript-eslint.io/",
            },
            rule: {
                name: "no-base-to-string",
                url: "https://typescript-eslint.io/rules/no-base-to-string",
            },
        }),
    ],
    ruleId: "no-value-tostring",
});
export default deprecatedRule;
//# sourceMappingURL=no-value-tostring.js.map