import type { TSESLint } from "@typescript-eslint/utils"; import type { UnknownArray } from "type-fest"; import type { RuleDocsMetadata } from "./rule-creator.js"; type RuleModule = Readonly<{ readonly meta: Readonly<{ readonly languages: readonly ["js/js"]; }> & TSESLint.RuleMetaData>; }> & TSESLint.RuleModule, RuleDocsMetadata>; /** * Adapt an ESLint rule so it points docs to this repository. * * @throws When the external rule does not expose a create function. */ export declare const adaptExternalRule: (externalRule: unknown, docsUrl: string) => RuleModule; export {}; //# sourceMappingURL=create-external-rule.d.ts.map