import { MathNode } from "mathjs"; declare class NodeCustomTypeImpl { /** * Returns true if `node` belongs to the type specified by boolean `isTypeFunc`. * If `allowUnaryMinus/allowParens` is true, we allow for the node to be nested. * */ isType(node: MathNode, isTypeFunc: any, allowUnaryMinus?: boolean, allowParens?: boolean): any; /** * Returns `node` if `node` belongs to the type specified by boolean `isTypeFunc`. * If `allowUnaryMinus/allowParens` is true, we check for an inner node of this type. * `moveUnaryMinus` should be defined if `allowUnaryMinus` is true, and should * move the unaryMinus into the inside of the type * e.g. for fractions, this function will negate the numerator * */ getType(node: MathNode, isTypeFunc: any, allowUnaryMinus?: boolean, allowParens?: boolean, moveUnaryMinus?: any): MathNode; isFraction(node: MathNode, allowUnaryMinus?: boolean, allowParens?: boolean): any; getFraction(node: MathNode, allowUnaryMinus?: boolean, allowParens?: boolean): MathNode; } export declare const NodeCustomType: NodeCustomTypeImpl; export {};