import unicornPlugin from "eslint-plugin-unicorn";
import { adaptExternalRule, getExternalRuleFromPlugin, } from "../_internal/create-external-rule.js";
import { createReplacementRuleInfo, withDeprecatedRuleLifecycle, } from "../_internal/rule-deprecation.js";
/**
 * Proxy of external `unicorn/no-unused-properties`.
 */
const rule = adaptExternalRule(getExternalRuleFromPlugin(unicornPlugin, "no-unused-properties", "eslint-plugin-unicorn"), "https://nick2bad4u.github.io/eslint-plugin-etc-misc/docs/rules/unused-internal-properties");
/**
 * Wrapper rule with explicit lifecycle metadata and replacement mapping.
 */
const deprecatedRule = withDeprecatedRuleLifecycle(rule, {
    message: "Deprecated in favor of unicorn/no-unused-properties.",
    replacedBy: [
        createReplacementRuleInfo({
            plugin: {
                name: "unicorn",
                url: "https://github.com/sindresorhus/eslint-plugin-unicorn",
            },
            rule: {
                name: "no-unused-properties",
                url: "https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unused-properties.md",
            },
        }),
    ],
    ruleId: "unused-internal-properties",
});
export default deprecatedRule;
//# sourceMappingURL=unused-internal-properties.js.map