/** * For determining the type of a mathJS node. * */ import { MathNode } from "mathjs"; declare class NodeTypeImpl { isOperator(node: MathNode, operator?: any): boolean; isParenthesis(node: MathNode): boolean; /** * OPTIMIZE: it is a mess that this method is duplicated for static and non static use * */ isUnaryMinus: (node: any) => boolean; static isUnaryMinus: (node: any) => boolean; isFunction(node: any, functionName?: any): boolean; isSymbol(node: any, allowUnaryMinus?: boolean): any; isConstant: (node: any, allowUnaryMinus?: boolean) => boolean; isConstantFraction(node: any, allowUnaryMinus?: boolean): any; isConstantOrConstantFraction(node: any, allowUnaryMinus?: boolean): boolean; isIntegerFraction: (node: any, allowUnaryMinus?: boolean) => boolean; } export declare const NodeType: NodeTypeImpl; export declare enum NodeTypeEnum { CONSTANT_NODE = "ConstantNode", SYMBOL_NODE = "SymbolNode", FUNCTION_NODE = "FunctionNode", OPERATOR_NODE = "OperatorNode", PARENTHESIS_NODE = "ParenthesisNode" } export {};