import { type TSESTree } from '@typescript-eslint/typescript-estree'; type Node = TSESTree.Node; export type Identifier = TSESTree.Identifier; export type IdentifierWithName = Identifier & { name: T; }; export declare function guardIdentifier<_T extends string>(node: Node | null): node is Omit & Identifier; export declare function guardIdentifier(node: Node | null, name: T): node is IdentifierWithName; /** * @deprecated use guardCallExpression because this clashes with a * typescript internal name (which makes it harder to import this) */ export declare const isIdentifier: typeof guardIdentifier; export {};