import type { TSESLint } from "@typescript-eslint/utils";
import type { UnknownArray } from "type-fest";
type RuleModule = TSESLint.RuleModule<string, Readonly<UnknownArray>>;
/**
 * Resolve a rule module from an external ESLint plugin's `rules` map.
 */
export declare const getExternalRuleFromPlugin: (plugin: unknown, ruleName: string, pluginName: string) => unknown;
/**
 * Adapt an external rule so it points docs to this repository.
 */
export declare const adaptExternalRule: (externalRule: unknown, docsUrl: string) => RuleModule;
export {};
//# sourceMappingURL=create-external-rule.d.ts.map