site/node_modules/mathjax-full/js/input/mathml.d.ts

25 lines
1.1 KiB
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
import { AbstractInputJax } from '../core/InputJax.js';
import { OptionList } from '../util/Options.js';
import { FunctionList } from '../util/FunctionList.js';
import { MathDocument } from '../core/MathDocument.js';
import { MathItem } from '../core/MathItem.js';
import { DOMAdaptor } from '../core/DOMAdaptor.js';
import { MmlFactory } from '../core/MmlTree/MmlFactory.js';
import { FindMathML } from './mathml/FindMathML.js';
import { MathMLCompile } from './mathml/MathMLCompile.js';
export declare class MathML<N, T, D> extends AbstractInputJax<N, T, D> {
static NAME: string;
static OPTIONS: OptionList;
protected findMathML: FindMathML<N, T, D>;
protected mathml: MathMLCompile<N, T, D>;
mmlFilters: FunctionList;
constructor(options?: OptionList);
setAdaptor(adaptor: DOMAdaptor<N, T, D>): void;
setMmlFactory(mmlFactory: MmlFactory): void;
get processStrings(): boolean;
compile(math: MathItem<N, T, D>, document: MathDocument<N, T, D>): any;
protected checkForErrors(doc: D): D;
protected error(message: string): void;
findMath(node: N): import("../core/MathItem.js").ProtoItem<N, T>[];
}