declare type Scope = { [key: string]: any; }; /** * Parse a TeX math string into a MathJS expression tree. * @returns Returns an object containing the root node of a MathJS expression tree * and variables that need to be defined. */ declare function parseTex(texStr: string): import("mathjs").MathNode; /** * Evaluate a TeX math string, returning the result as a MathJS MathType. */ declare function evaluateTex(texStr: string, scope?: Scope): { evaluated: any; scope: Scope | undefined; }; export { parseTex, evaluateTex, Scope, };