import type { UnknownArray } from "type-fest"; import type ts from "typescript"; import { type TSESLint, type TSESTree } from "@typescript-eslint/utils"; import type { TypedRuleServices } from "./typed-rule.js"; /** * Determine whether a TypeScript type resolves to an `@typescript-eslint` AST * node type. * * @param checker - Type checker for symbol and declaration inspection. * @param type - Candidate type to inspect. * * @returns `true` when the candidate resolves to a `TSESTree` AST type. */ export declare const isTypeScriptEslintAstType: (checker: Readonly, type: Readonly) => boolean; /** * Build a predicate that skips rule reporting/fixing when the compared * expression resolves to an `@typescript-eslint` AST node. * * @param context - Rule context for typed parser services. * @param typedServices - Prevalidated typed services. Pass `null`/`undefined` * to run definition-only fallback logic with no checker calls. * * @returns Expression predicate that returns `true` when the current rule * should skip reporting/fixing for the expression. */ export declare const createTypeScriptEslintNodeExpressionSkipChecker: >(context: Readonly>, typedServices?: Readonly) => ((expression: Readonly) => boolean); //# sourceMappingURL=typescript-eslint-node-autofix.d.ts.map