import { type TSESTree } from '@typescript-eslint/typescript-estree'; type Node = TSESTree.Node; export type BinaryExpression = TSESTree.BinaryExpression; export type BinaryOperator = BinaryExpression['operator']; export type BinaryExpressionWithOperator = BinaryExpression & { operator: T; }; export declare function guardBinaryExpression(node: Node): node is BinaryExpression; export declare function guardBinaryExpression(node: Node, operator: T): node is BinaryExpressionWithOperator; /** * @deprecated use guardBinaryExpression because this clashes with a * typescript internal name (which makes it harder to import this) */ export declare const isBinaryExpression: typeof guardBinaryExpression; export {};