import type { TSESLint, TSESTree } from '@typescript-eslint/utils'; import type { Rule, Scope } from 'eslint'; import type { Node } from 'estree-jsx'; /** * Returns the Scope object from the ESLint rule context. * Compatibility layer to support older versions of ESLint. * @param context - The ESLint rule context * @param node - The node to get the scope for */ export declare function getScope(context: Rule.RuleContext, node: Node): Scope.Scope; export declare function getScope(context: TSESLint.RuleContext, node: TSESTree.Node): TSESLint.Scope.Scope;