import type { TSESLint, TSESTree } from '@typescript-eslint/utils'; import type { Rule, Scope } from 'eslint'; import type { Node } from 'estree-jsx'; export declare function getDeclaredVariables(context: Rule.RuleContext, node: Node): Scope.Variable[]; export declare function getDeclaredVariables(context: TSESLint.RuleContext, node: TSESTree.Node): TSESLint.Scope.Variable[];