import type { Rule, Scope } from "eslint"; import type { Expression, Identifier, Literal, MemberExpression, MethodDefinition, Node, PrivateIdentifier, Property, PropertyDefinition, TemplateElement, TemplateLiteral } from "estree"; export declare function getParent(node: Node | null): E | null; export declare function findVariable(context: Rule.RuleContext, node: Identifier): Scope.Variable | null; export declare function getPropertyName(context: Rule.RuleContext, node: MemberExpression | MethodDefinition | Property | PropertyDefinition): string | null; type GetStaticValueResult = { value: unknown; } | { value: undefined; optional?: true; }; export declare function getStaticValue(context: Rule.RuleContext, node: Node): GetStaticValueResult | null; export declare function getScope(context: Rule.RuleContext, currentNode: Node): Scope.Scope; export declare function findExpression(context: Rule.RuleContext, id: Identifier): Exclude | null; export declare function isStaticTemplateLiteral(node: Expression | PrivateIdentifier): node is TemplateLiteral & { quasis: [TemplateElement]; expressions: []; }; export declare function isStringLiteral(node: Expression | PrivateIdentifier): node is Literal & { value: string; }; export {};