/* eslint-disable */ /* eslint-enable prettier/prettier */ /** * @file This file contains reusable callback to create ESLint rules specific to this package. */ import type { ESLintUtils, TSESLint } from "@typescript-eslint/utils"; import * as options from "./options"; /** * Creates callback to create new ESLint rules, which are bound to {@link Options} and using {@link TSESLint.RuleContext}. * @param root0 The arguments for the rule, except the ones which will be common. * @param root0.create Privately deconstructed variable. * @param root0.meta Privately deconstructed variable. * @param root0.name Private deconstructed variable. * @returns The ESLint rule which is bound to {@link Options} and using {@link TSESLint.RuleContext}. */ declare const _default: ({ create, meta, name, }: Readonly<{ name: string; meta: Omit, "schema">; create: ( ctx: Readonly< Omit< TSESLint.RuleContext< TMessageIds, readonly [ Readonly< Partial<{ extension: string; checkAlsoType: boolean; knownExtensions: readonly string[]; ignoreExtensions: readonly string[]; }> >, ] >, "options" > >, options: Readonly<{ readonly extension: string; readonly checkAlsoType: boolean; readonly knownExtensions: readonly string[]; readonly ignoreExtensions: readonly string[]; }>, ) => TSESLint.RuleListener; }>) => TSESLint.RuleModule< TMessageIds, readonly [ Readonly< Partial<{ extension: string; checkAlsoType: boolean; knownExtensions: readonly string[]; ignoreExtensions: readonly string[]; }> >, ], TSESLint.RuleListener >; export default _default; /** * The type of the context visible to rules. */ export type Context = Readonly< Omit, "options"> >;