import type { TSESTree } from "@typescript-eslint/utils"; import { Scope } from "@typescript-eslint/utils/ts-eslint"; export declare const isIdentifier: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.Identifier; }; export declare const isTaggedTemplateExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.TaggedTemplateExpression; }; export declare const isExportNamedDeclaration: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ExportNamedDeclaration; }; export declare const isExportDefaultDeclaration: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ExportDefaultDeclaration; }; export declare const isExportAllDeclaration: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ExportAllDeclaration; }; export declare const isArrayExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ArrayExpression; }; export declare const isArrowFunctionExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ArrowFunctionExpression; }; export declare const isBlockStatement: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.BlockStatement; }; export declare const isCallExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.CallExpression; }; export declare const isRestElement: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.RestElement; }; export declare const isExpressionStatement: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ExpressionStatement; }; export declare const isVariableDeclaration: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.VariableDeclaration; }; export declare const isVariableDeclarator: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.VariableDeclarator; }; export declare const isAssignmentExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.AssignmentExpression; }; export declare const isSequenceExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.SequenceExpression; }; export declare const isImportDeclaration: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ImportDeclaration; }; export declare const isImportDefaultSpecifier: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ImportDefaultSpecifier; }; export declare const isImportNamespaceSpecifier: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ImportNamespaceSpecifier; }; export declare const isImportSpecifier: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ImportSpecifier; }; export declare const isExportSpecifier: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ExportSpecifier; }; export declare const isSpreadElement: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.SpreadElement; }; export declare const isJSXAttribute: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.JSXAttribute; }; export declare const isLiteral: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.Literal; }; export declare const isMemberExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.MemberExpression; }; export declare const isNewExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.NewExpression; }; export declare const isObjectExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ObjectExpression; }; export declare const isObjectPattern: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ObjectPattern; }; export declare const isProperty: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.Property; }; export declare const isMethodDefinition: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.MethodDefinition; }; export declare const isReturnStatement: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ReturnStatement; }; export declare const isYieldExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.YieldExpression; }; export declare const isFunctionExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.FunctionExpression; }; export declare const isFunctionDeclaration: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.FunctionDeclaration; }; export declare const isClassDeclaration: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ClassDeclaration; }; export declare const isPropertyDefinition: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.PropertyDefinition; }; export declare const isProgram: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.Program; }; export declare const isTSTypeReference: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.TSTypeReference; }; export declare const isTSTypeAnnotation: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.TSTypeAnnotation; }; export declare const isJSXExpressionContainer: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.JSXExpressionContainer; }; export declare const isJSXEmptyExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.JSXEmptyExpression; }; export declare const isJSXIdentifier: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.JSXIdentifier; }; export declare const isJSXNamespacedName: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.JSXNamespacedName; }; export declare const isArrayPattern: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.ArrayPattern; }; export declare const isParameter: (def?: Scope.Definition | null) => def is Scope.Definition & { type: typeof Scope.DefinitionType.Parameter; }; export declare const isImportBinding: (def?: Scope.Definition | null) => def is Scope.Definition & { type: typeof Scope.DefinitionType.ImportBinding; }; export declare const isFunctionName: (def?: Scope.Definition | null) => def is Scope.Definition & { type: typeof Scope.DefinitionType.FunctionName; }; export declare const isClassName: (def?: Scope.Definition | null) => def is Scope.Definition & { type: typeof Scope.DefinitionType.ClassName; }; export declare function isPrimitive(value: unknown): value is string | number | boolean | undefined | null; export declare function isRecord(value: unknown): value is Record; export declare function isSymbol(value: unknown): value is symbol; export declare const isTemplateLiteral: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.TemplateLiteral; }; export declare const isTemplateElement: (node: TSESTree.Node | null | undefined) => node is TSESTree.Node & { type: TSESTree.AST_NODE_TYPES.TemplateElement; }; export declare function isBigIntLiteral(literal: TSESTree.Literal): literal is TSESTree.BigIntLiteral; export declare function isBooleanLiteral(literal: TSESTree.Literal): literal is TSESTree.BooleanLiteral; export declare function isNullLiteral(literal: TSESTree.Literal): literal is TSESTree.NullLiteral; export declare function isNumberLiteral(literal: TSESTree.Literal): literal is TSESTree.NumberLiteral; export declare function isStringLiteral(literal: TSESTree.Literal): literal is TSESTree.StringLiteral; //# sourceMappingURL=guards.d.ts.map