persona-community-5/.pnpm-store/v3/files/15/63c3df149881dd8bd0d5f5291ee2280221b58d52a7a27f03921582f84f06fd719600e8670a1f27f61eae9cac2bdf269e6bb3223407863e21799375f8c56bb7
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

16 lines
1.2 KiB
Plaintext

import type { Scope, SourceCode } from '../ts-eslint';
import type { RuleContext } from '../ts-eslint/Rule';
import type { TSESTree } from '../ts-estree';
/** @deprecated use `context.sourceCode.getAncestors(node)` */
export declare function getAncestors(context: Readonly<RuleContext<string, unknown[]>>): TSESTree.Node[];
/** @deprecated use `context.sourceCode.getCwd()` */
export declare function getCwd(context: Readonly<RuleContext<string, unknown[]>>): string;
/** @deprecated use `context.sourceCode.getDeclaredVariables(node)` */
export declare function getDeclaredVariables(context: Readonly<RuleContext<string, unknown[]>>, node: TSESTree.Node): readonly Scope.Variable[];
/** @deprecated use `context.filename` */
export declare function getFilename(context: Readonly<RuleContext<string, unknown[]>>): string;
/** @deprecated use `context.sourceCode.getScope(node) */
export declare function getScope(context: Readonly<RuleContext<string, readonly unknown[]>>): Scope.Scope;
/** @deprecated use `context.sourceCode` */
export declare function getSourceCode(context: Readonly<RuleContext<string, readonly unknown[]>>): Readonly<SourceCode>;
//# sourceMappingURL=context.d.ts.map