site/node_modules/mathjax-full/js/ui/menu/MmlVisitor.d.ts

12 lines
572 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
import { MathItem } from '../../core/MathItem.js';
import { MmlNode } from '../../core/MmlTree/MmlNode.js';
import { SerializedMmlVisitor } from '../../core/MmlTree/SerializedMmlVisitor.js';
import { OptionList } from '../../util/Options.js';
export declare class MmlVisitor<N, T, D> extends SerializedMmlVisitor {
options: OptionList;
mathItem: MathItem<N, T, D>;
visitTree(node: MmlNode, math?: MathItem<N, T, D>, options?: OptionList): any;
visitTeXAtomNode(node: MmlNode, space: string): any;
visitMathNode(node: MmlNode, space: string): string;
}