1 import { TSESTree } from '../../ts-estree';
\r
2 import * as TSESLint from '../../ts-eslint';
\r
4 * Get the variable of a given name.
\r
6 * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#findvariable}
\r
8 declare const findVariable: (initialScope: TSESLint.Scope.Scope, name: string) => TSESLint.Scope.Variable | null;
\r
10 * Get the innermost scope which contains a given node.
\r
12 * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#getinnermostscope}
\r
13 * @returns The innermost scope which contains the given node.
\r
14 * If such scope doesn't exist then it returns the 1st argument `initialScope`.
\r
16 declare const getInnermostScope: (initialScope: TSESLint.Scope.Scope, node: TSESTree.Node) => TSESLint.Scope.Scope;
\r
17 export { findVariable, getInnermostScope };
\r
18 //# sourceMappingURL=scopeAnalysis.d.ts.map
\r