@wiris/mathtype-viewer
Version:
The MathType viewer renders all MathML and LaTeX-like formulas in a webpage using the MathType rendering engine.
16 lines • 990 B
TypeScript
declare enum MethodType {
Post = "POST",
Get = "GET"
}
export declare class StatusError extends Error {
constructor(message: any);
}
export declare function processJsonResponse(response: Promise<Response>): Promise<any>;
export declare function callService(query: object, serviceName: string, method: MethodType, serverURL: string, extension: string): Promise<any>;
export declare function mathml2accessible(mml: string, lang: string, url: string, extension: string): Promise<any>;
export declare function showImage(mml: string, lang: string, url: string, extension: string): Promise<any>;
export declare function createImage(mml: string, lang: string, url: string, extension: string): Promise<any>;
export declare function latexToMathml(latex: string, url: string, extension: string): Promise<any>;
export declare function configurationJson(variablekeys: string[], url: string, extension: string, check: boolean): Promise<any>;
export {};
//# sourceMappingURL=services.d.ts.map